#313D20
Closest named color: Pakistan Green (#283618). oklch(34.1% 0.05 127.2), rgb(49, 61, 32).
Aa
White text reads best on this color (11.54:1).
About this color
#313D20 is a dark, muted green. In OKLCH its lightness is 34%, its chroma 0.050 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.029 away. White text reads best on it, at 11.54:1.
| Hue family | Greens |
| Lightness | dark (34%) |
| Chroma | muted (0.050) |
| Temperature | in between |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.81:1 |
| White text | 11.54:1 |
Values
| HEX | #313D20 |
| RGB | rgb(49, 61, 32) |
| HSL | hsl(85, 31%, 18%) |
| OKLCH | oklch(34.1% 0.05 127.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 #313D20 | 11.54:1 | AAA | Lc -100.2 | Preferred for body text |
| Black text on #313D20 | 1.81:1 | Fails | Lc 7.3 | Not readable |
| #313D20 text on white | 11.54:1 | AAA | Lc 96.6 | Preferred for body text |
| #313D20 text on black | 1.81: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
#F4F6F2
oklch(97.1% 0.006 128.5)
-
Step 100
100
#E8EBE4
oklch(93.6% 0.01 125.7)
-
Step 200
200
#D5DCCD
oklch(88.5% 0.022 127.4)
-
Step 300
300
#BAC6AC
oklch(81% 0.038 127.5)
-
Step 400
400
#96A880
oklch(70.7% 0.06 127.6)
-
Step 500
500
#7D925F
oklch(63% 0.076 126.7)
-
Step 600
600
#667C46
oklch(55.5% 0.082 127)
-
Step 700
700
#556937
oklch(49.2% 0.077 126.9)
-
Step 800
800
#45562E
oklch(42.8% 0.065 127.7)
-
Step 900
900 (this color)
#313D20
oklch(34.1% 0.05 127.2)
-
Step 950
950
#222918
oklch(26.9% 0.032 126.6)
#313D20 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) | #403A1E | 0.025 |
| Deuteranopia (no green cones) | #3E3922 | 0.026 |
| Tritanopia (no blue cones) | #323B36 | 0.039 |
| Achromatopsia (no color) | #393939 | 0.050 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #313D20
#313D20
oklch(34.1% 0.05 127.2)
- #3F314C
#3F314C
oklch(34% 0.05 307.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 #313D20, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.029
- Dark Olive #373E02 ΔE 0.031
- Evergreen #05472A ΔE 0.046
- Pine Green #0A481E ΔE 0.051
- Forrest Green #154406 ΔE 0.055
- Hunter Green #0B4008 ΔE 0.056
- Onyx #343A40 ΔE 0.058
- Charcoal Grey #3C4142 ΔE 0.058
Use #313D20 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.