#271D08
Closest named color: Dark Brown (#341C02). oklch(23.7% 0.037 83.8), rgb(39, 29, 8).
Aa
White text reads best on this color (16.59:1).
About this color
#271D08 is a very dark, muted brown. In OKLCH its lightness is 24%, its chroma 0.037 and its hue 84°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.028 away. White text reads best on it, at 16.59:1.
| Hue family | Browns |
| Lightness | very dark (24%) |
| Chroma | muted (0.037) |
| Temperature | warm |
| Nearest name | Dark Brown (#341C02) |
| Black text | 1.26:1 |
| White text | 16.59:1 |
Values
| HEX | #271D08 |
| RGB | rgb(39, 29, 8) |
| HSL | hsl(41, 66%, 9%) |
| OKLCH | oklch(23.7% 0.037 83.8) |
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 #271D08 | 16.59:1 | AAA | Lc -105.9 | Preferred for body text |
| Black text on #271D08 | 1.26:1 | Fails | Lc 0.0 | Not readable |
| #271D08 text on white | 16.59:1 | AAA | Lc 103.5 | Preferred for body text |
| #271D08 text on black | 1.26: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
#F7F5F1
oklch(97.1% 0.006 84.6)
-
Step 100
100
#EEE9E0
oklch(93.5% 0.013 82.4)
-
Step 200
200
#E1D8C7
oklch(88.5% 0.025 83.4)
-
Step 300
300
#CEBFA1
oklch(80.9% 0.044 84.5)
-
Step 400
400
#B69D6D
oklch(70.7% 0.071 83.3)
-
Step 500
500
#A38545
oklch(63.1% 0.09 84.6)
-
Step 600
600
#8E6E24
oklch(55.6% 0.098 84.5)
-
Step 700
700
#795B16
oklch(49% 0.091 83.5)
-
Step 800
800
#634B16
oklch(42.8% 0.076 83.5)
-
Step 900
900
#503F19
oklch(37.7% 0.059 85)
-
Step 950
950 (this color)
#271D08
oklch(23.7% 0.037 83.8)
#271D08 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) | #211D06 | 0.013 |
| Deuteranopia (no green cones) | #241F09 | 0.008 |
| Tritanopia (no blue cones) | #2B1A18 | 0.032 |
| Achromatopsia (no color) | #1E1E1E | 0.037 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #271D08
#271D08
oklch(23.7% 0.037 83.8)
- #151E30
#151E30
oklch(23.6% 0.037 263.5)
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 #271D08, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Brown #341C02 ΔE 0.028
- Jet #212529 ΔE 0.053
- Chocolate Brown #411900 ΔE 0.056
- Dark #1B2431 ΔE 0.068
- Very Dark Green #062E03 ΔE 0.075
- Rich Black #0D1B2A ΔE 0.075
- Dark Forest Green #002D04 ΔE 0.075
- Deep Brown #410200 ΔE 0.078
Use #271D08 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.