#28311B
Closest named color: Pakistan Green (#283618). oklch(29.8% 0.039 126.8), rgb(40, 49, 27).
Aa
White text reads best on this color (13.58:1).
About this color
#28311B is a dark, muted green. In OKLCH its lightness is 30%, its chroma 0.039 and its hue 127°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.019 away. White text reads best on it, at 13.58:1.
| Hue family | Greens |
| Lightness | dark (30%) |
| Chroma | muted (0.039) |
| Temperature | in between |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.54:1 |
| White text | 13.58:1 |
Values
| HEX | #28311B |
| RGB | rgb(40, 49, 27) |
| HSL | hsl(85, 29%, 15%) |
| OKLCH | oklch(29.8% 0.039 126.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 #28311B | 13.58:1 | AAA | Lc -103.2 | Preferred for body text |
| Black text on #28311B | 1.54:1 | Fails | Lc 0.0 | Not readable |
| #28311B text on white | 13.58:1 | AAA | Lc 100.1 | Preferred for body text |
| #28311B text on black | 1.54: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
#F4F6F2
oklch(97.1% 0.006 128.5)
-
Step 100
100
#E7ECE2
oklch(93.7% 0.014 128.6)
-
Step 200
200
#D4DDCA
oklch(88.5% 0.027 127.8)
-
Step 300
300
#B9C7A6
oklch(81% 0.048 126.2)
-
Step 400
400
#94AA77
oklch(70.8% 0.075 127.2)
-
Step 500
500
#7A9453
oklch(63.1% 0.095 126.8)
-
Step 600
600
#637E37
oklch(55.5% 0.103 126.8)
-
Step 700
700
#526A29
oklch(49% 0.096 126.7)
-
Step 800
800
#435723
oklch(42.7% 0.08 127.1)
-
Step 900
900
#394822
oklch(37.8% 0.062 126.9)
-
Step 950
950 (this color)
#28311B
oklch(29.8% 0.039 126.8)
#28311B 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) | #332E19 | 0.020 |
| Deuteranopia (no green cones) | #322E1C | 0.020 |
| Tritanopia (no blue cones) | #292F2B | 0.030 |
| Achromatopsia (no color) | #2E2E2E | 0.040 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #28311B
#28311B
oklch(29.8% 0.039 126.8)
- #32283D
#32283D
oklch(29.7% 0.04 305.9)
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 #28311B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.019
- Very Dark Green #062E03 ΔE 0.057
- Jet #212529 ΔE 0.058
- Dark Forest Green #002D04 ΔE 0.062
- Dark Olive #373E02 ΔE 0.062
- Gunmetal #293241 ΔE 0.066
- Dark Brown #341C02 ΔE 0.067
- Onyx #343A40 ΔE 0.067
Use #28311B 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.