#01271B
Closest named color: Dark Forest Green (#002D04). oklch(24.3% 0.048 167.2), rgb(1, 39, 27).
Aa
White text reads best on this color (16.06:1).
About this color
#01271B is a very dark, muted green. In OKLCH its lightness is 24%, its chroma 0.048 and its hue 167°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Forest Green (#002D04), ΔE 0.046 away. White text reads best on it, at 16.06:1.
| Hue family | Greens |
| Lightness | very dark (24%) |
| Chroma | muted (0.048) |
| Temperature | in between |
| Nearest name | Dark Forest Green (#002D04) |
| Black text | 1.30:1 |
| White text | 16.06:1 |
Values
| HEX | #01271B |
| RGB | rgb(1, 39, 27) |
| HSL | hsl(161, 95%, 8%) |
| OKLCH | oklch(24.3% 0.048 167.2) |
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 #01271B | 16.06:1 | AAA | Lc -105.4 | Preferred for body text |
| Black text on #01271B | 1.30:1 | Fails | Lc 0.0 | Not readable |
| #01271B text on white | 16.06:1 | AAA | Lc 102.8 | Preferred for body text |
| #01271B text on black | 1.30: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
#F1F7F4
oklch(97.1% 0.007 164.9)
-
Step 100
100
#E0EEE7
oklch(93.7% 0.018 164.6)
-
Step 200
200
#C6E0D5
oklch(88.4% 0.031 168.3)
-
Step 300
300
#9DCDB9
oklch(80.9% 0.058 167.5)
-
Step 400
400
#63B395
oklch(70.7% 0.091 167.4)
-
Step 500
500
#28A07B
oklch(63.2% 0.118 167.3)
-
Step 600
600
#008865
oklch(55.6% 0.114 167)
-
Step 700
700
#007255
oklch(49% 0.1 167.6)
-
Step 800
800
#005E45
oklch(42.8% 0.088 167.1)
-
Step 900
900
#014E39
oklch(37.7% 0.076 167.3)
-
Step 950
950 (this color)
#01271B
oklch(24.3% 0.048 167.2)
#01271B 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) | #26231A | 0.049 |
| Deuteranopia (no green cones) | #21201C | 0.047 |
| Tritanopia (no blue cones) | #002724 | 0.017 |
| Achromatopsia (no color) | #212121 | 0.049 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #01271B
#01271B
oklch(24.3% 0.048 167.2)
- #301624
#301624
oklch(24.3% 0.047 347.7)
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 #01271B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Forest Green #002D04 ΔE 0.046
- Very Dark Green #062E03 ΔE 0.049
- Jet #212529 ΔE 0.052
- Dark #1B2431 ΔE 0.058
- Rich Black #0D1B2A ΔE 0.062
- Oxford Blue #1B263B ΔE 0.072
- Pakistan Green #283618 ΔE 0.077
- Dark Brown #341C02 ΔE 0.081
Use #01271B 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.