#271F03
Closest named color: Dark Brown (#341C02). oklch(24.2% 0.045 93.4), rgb(39, 31, 3).
Aa
White text reads best on this color (16.36:1).
About this color
#271F03 is a very dark, muted brown. In OKLCH its lightness is 24%, its chroma 0.045 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.029 away. White text reads best on it, at 16.36:1.
| Hue family | Browns |
| Lightness | very dark (24%) |
| Chroma | muted (0.045) |
| Temperature | warm |
| Nearest name | Dark Brown (#341C02) |
| Black text | 1.28:1 |
| White text | 16.36:1 |
Values
| HEX | #271F03 |
| RGB | rgb(39, 31, 3) |
| HSL | hsl(47, 86%, 8%) |
| OKLCH | oklch(24.2% 0.045 93.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 #271F03 | 16.36:1 | AAA | Lc -105.8 | Preferred for body text |
| Black text on #271F03 | 1.28:1 | Fails | Lc 0.0 | Not readable |
| #271F03 text on white | 16.36:1 | AAA | Lc 103.3 | Preferred for body text |
| #271F03 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
#F7F5F0
oklch(97% 0.007 88.6)
-
Step 100
100
#EDEADF
oklch(93.6% 0.015 94.2)
-
Step 200
200
#E0D9C4
oklch(88.5% 0.029 91.7)
-
Step 300
300
#CCC09A
oklch(80.8% 0.053 92.6)
-
Step 400
400
#B3A061
oklch(70.8% 0.085 93.2)
-
Step 500
500
#A0882F
oklch(63.2% 0.11 93.7)
-
Step 600
600
#8A7100
oklch(55.6% 0.114 93.5)
-
Step 700
700
#745F00
oklch(49.2% 0.101 93.8)
-
Step 800
800
#5F4D00
oklch(42.6% 0.087 93.4)
-
Step 900
900
#4E400A
oklch(37.6% 0.071 93.4)
-
Step 950
950 (this color)
#271F03
oklch(24.2% 0.045 93.4)
#271F03 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) | #241E01 | 0.008 |
| Deuteranopia (no green cones) | #262104 | 0.007 |
| Tritanopia (no blue cones) | #2B1C19 | 0.040 |
| Achromatopsia (no color) | #202020 | 0.045 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #271F03
#271F03
oklch(24.2% 0.045 93.4)
- #191E35
#191E35
oklch(24.3% 0.045 273.3)
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 #271F03, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Brown #341C02 ΔE 0.029
- Chocolate Brown #411900 ΔE 0.058
- Jet #212529 ΔE 0.058
- Very Dark Green #062E03 ΔE 0.066
- Dark Forest Green #002D04 ΔE 0.067
- Dark #1B2431 ΔE 0.074
- Pakistan Green #283618 ΔE 0.076
- Rich Black #0D1B2A ΔE 0.083
Use #271F03 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.