#283F21
Closest named color: Pakistan Green (#283618). oklch(34% 0.058 138.6), rgb(40, 63, 33).
Aa
White text reads best on this color (11.51:1).
About this color
#283F21 is a dark, muted green. In OKLCH its lightness is 34%, its chroma 0.058 and its hue 139°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.030 away. White text reads best on it, at 11.51:1.
| Hue family | Greens |
| Lightness | dark (34%) |
| Chroma | muted (0.058) |
| Temperature | in between |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.82:1 |
| White text | 11.51:1 |
Values
| HEX | #283F21 |
| RGB | rgb(40, 63, 33) |
| HSL | hsl(106, 31%, 19%) |
| OKLCH | oklch(34% 0.058 138.6) |
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 #283F21 | 11.51:1 | AAA | Lc -100.1 | Preferred for body text |
| Black text on #283F21 | 1.82:1 | Fails | Lc 7.4 | Not readable |
| #283F21 text on white | 11.51:1 | AAA | Lc 96.5 | Preferred for body text |
| #283F21 text on black | 1.82: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 900.
-
Step 50
50
#F3F6F3
oklch(97% 0.005 145.5)
-
Step 100
100
#E6ECE4
oklch(93.6% 0.012 137.8)
-
Step 200
200
#D1DDCE
oklch(88.4% 0.024 139.4)
-
Step 300
300
#B3C8AD
oklch(80.9% 0.044 138.7)
-
Step 400
400
#8BAB81
oklch(70.6% 0.069 138.3)
-
Step 500
500
#6E9762
oklch(63.2% 0.089 138.7)
-
Step 600
600
#558148
oklch(55.6% 0.097 138.8)
-
Step 700
700
#456D39
oklch(49.1% 0.091 138.8)
-
Step 800
800
#395930
oklch(42.8% 0.075 139)
-
Step 900
900 (this color)
#283F21
oklch(34% 0.058 138.6)
-
Step 950
950
#1D2B19
oklch(27% 0.038 138.9)
#283F21 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) | #413B1F | 0.040 |
| Deuteranopia (no green cones) | #3D3823 | 0.040 |
| Tritanopia (no blue cones) | #273D38 | 0.040 |
| Achromatopsia (no color) | #393939 | 0.058 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #283F21
#283F21
oklch(34% 0.058 138.6)
- #452E4B
#452E4B
oklch(34.1% 0.058 319.2)
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 #283F21, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.030
- Dark Olive #373E02 ΔE 0.033
- Evergreen #05472A ΔE 0.033
- Pine Green #0A481E ΔE 0.039
- Forrest Green #154406 ΔE 0.045
- Hunter Green #0B4008 ΔE 0.045
- British Racing Green #05480D ΔE 0.052
- Darkgreen #054907 ΔE 0.058
Use #283F21 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.