#1B2F17
Closest named color: Pakistan Green (#283618). oklch(28.1% 0.05 140.3), rgb(27, 47, 23).
Aa
White text reads best on this color (14.32:1).
About this color
#1B2F17 is a dark, muted green. In OKLCH its lightness is 28%, its chroma 0.050 and its hue 140°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.033 away. White text reads best on it, at 14.32:1.
| Hue family | Greens |
| Lightness | dark (28%) |
| Chroma | muted (0.050) |
| Temperature | in between |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.46:1 |
| White text | 14.32:1 |
Values
| HEX | #1B2F17 |
| RGB | rgb(27, 47, 23) |
| HSL | hsl(110, 34%, 14%) |
| OKLCH | oklch(28.1% 0.05 140.3) |
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 #1B2F17 | 14.32:1 | AAA | Lc -104.0 | Preferred for body text |
| Black text on #1B2F17 | 1.46:1 | Fails | Lc 0.0 | Not readable |
| #1B2F17 text on white | 14.32:1 | AAA | Lc 101.0 | Preferred for body text |
| #1B2F17 text on black | 1.46: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
#F3F7F2
oklch(97.2% 0.008 139.4)
-
Step 100
100
#E4EDE2
oklch(93.6% 0.017 140)
-
Step 200
200
#CEDFCB
oklch(88.5% 0.033 141)
-
Step 300
300
#ADCBA7
oklch(81% 0.059 140.4)
-
Step 400
400
#81AF77
oklch(70.6% 0.094 140)
-
Step 500
500
#5F9B53
oklch(63.1% 0.121 140.3)
-
Step 600
600
#448537
oklch(55.5% 0.131 140.4)
-
Step 700
700
#357129
oklch(49.1% 0.122 140.5)
-
Step 800
800
#2D5C23
oklch(42.7% 0.101 140.2)
-
Step 900
900
#294C22
oklch(37.8% 0.079 140.4)
-
Step 950
950 (this color)
#1B2F17
oklch(28.1% 0.05 140.3)
#1B2F17 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) | #302B15 | 0.035 |
| Deuteranopia (no green cones) | #2D2918 | 0.035 |
| Tritanopia (no blue cones) | #1A2E29 | 0.032 |
| Achromatopsia (no color) | #2A2A2A | 0.050 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1B2F17
#1B2F17
oklch(28.1% 0.05 140.3)
- #342138
#342138
oklch(28.2% 0.049 320.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 #1B2F17, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.033
- Very Dark Green #062E03 ΔE 0.037
- Dark Forest Green #002D04 ΔE 0.041
- Jet #212529 ΔE 0.057
- Hunter Green #0B4008 ΔE 0.067
- Dark Brown #341C02 ΔE 0.069
- Dark #1B2431 ΔE 0.071
- Dark Olive #373E02 ΔE 0.075
Use #1B2F17 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.