#271E18
Closest named color: Jet (#212529). oklch(24.4% 0.018 55.4), rgb(39, 30, 24).
Aa
White text reads best on this color (16.34:1).
About this color
#271E18 is a very dark close to neutral grey. In OKLCH its lightness is 24%, its chroma 0.018. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.033 away. White text reads best on it, at 16.34:1.
| Hue family | Neutrals |
| Lightness | very dark (24%) |
| Chroma | close to neutral grey (0.018) |
| Temperature | neutral |
| Nearest name | Jet (#212529) |
| Black text | 1.28:1 |
| White text | 16.34:1 |
Values
| HEX | #271E18 |
| RGB | rgb(39, 30, 24) |
| HSL | hsl(24, 24%, 12%) |
| OKLCH | oklch(24.4% 0.018 55.4) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #271E18 | 16.34:1 | AAA | Lc -105.8 | Preferred for body text |
| Black text on #271E18 | 1.28:1 | Fails | Lc 0.0 | Not readable |
| #271E18 text on white | 16.34:1 | AAA | Lc 103.3 | Preferred for body text |
| #271E18 text on black | 1.28:1 | Fails | Lc 0.0 | Not readable |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.
-
Step 50
50
#F7F5F4
oklch(97.1% 0.003 48.7)
-
Step 100
100
#EDE9E6
oklch(93.6% 0.006 59.6)
-
Step 200
200
#E0D7D2
oklch(88.5% 0.012 51.3)
-
Step 300
300
#CCBDB4
oklch(80.8% 0.021 53.2)
-
Step 400
400
#B29C8D
oklch(70.8% 0.034 56.4)
-
Step 500
500
#9F8371
oklch(63.1% 0.043 54.5)
-
Step 600
600
#896C59
oklch(55.5% 0.047 54.8)
-
Step 700
700
#755A49
oklch(49.1% 0.044 53.6)
-
Step 800
800
#5F4A3C
oklch(42.7% 0.036 55.2)
-
Step 900
900
#4E3E33
oklch(37.8% 0.029 56.2)
-
Step 950
950 (this color)
#271E18
oklch(24.4% 0.018 55.4)
#271E18 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #211F18 | 0.012 |
| Deuteranopia (no green cones) | #232118 | 0.013 |
| Tritanopia (no blue cones) | #2A1C1C | 0.013 |
| Achromatopsia (no color) | #202020 | 0.018 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #271E18
#271E18
oklch(24.4% 0.018 55.4)
- #182228
#182228
oklch(24.5% 0.018 234.8)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #271E18, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Jet #212529 ΔE 0.033
- Dark Brown #341C02 ΔE 0.038
- Dark #1B2431 ΔE 0.047
- Rich Black #0D1B2A ΔE 0.059
- Chocolate Brown #411900 ΔE 0.060
- Oxford Blue #1B263B ΔE 0.064
- Dark Maroon #3C0008 ΔE 0.079
- Deep Brown #410200 ΔE 0.079
Use #271E18 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.