#313B22
Closest named color: Pakistan Green (#283618). oklch(33.6% 0.043 126.4), rgb(49, 59, 34).
Aa
White text reads best on this color (11.80:1).
About this color
#313B22 is a dark, muted green. In OKLCH its lightness is 34%, its chroma 0.043 and its hue 126°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.026 away. White text reads best on it, at 11.80:1.
| Hue family | Greens |
| Lightness | dark (34%) |
| Chroma | muted (0.043) |
| Temperature | in between |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.77:1 |
| White text | 11.80:1 |
Values
| HEX | #313B22 |
| RGB | rgb(49, 59, 34) |
| HSL | hsl(84, 27%, 18%) |
| OKLCH | oklch(33.6% 0.043 126.4) |
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 #313B22 | 11.80:1 | AAA | Lc -100.7 | Preferred for body text |
| Black text on #313B22 | 1.77:1 | Fails | Lc 0.0 | Not readable |
| #313B22 text on white | 11.80:1 | AAA | Lc 97.1 | Preferred for body text |
| #313B22 text on black | 1.77: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
#F5F6F3
oklch(97.2% 0.004 121.6)
-
Step 100
100
#E8EBE4
oklch(93.6% 0.01 125.7)
-
Step 200
200
#D6DBCF
oklch(88.4% 0.017 125.3)
-
Step 300
300
#BBC5AE
oklch(80.9% 0.033 126.4)
-
Step 400
400
#98A784
oklch(70.7% 0.052 126.6)
-
Step 500
500
#7F9165
oklch(63.1% 0.066 126.3)
-
Step 600
600
#687B4C
oklch(55.5% 0.072 126.5)
-
Step 700
700
#57683D
oklch(49.2% 0.067 126.3)
-
Step 800
800
#475533
oklch(42.8% 0.056 126.8)
-
Step 900
900 (this color)
#313B22
oklch(33.6% 0.043 126.4)
-
Step 950
950
#23291A
oklch(27% 0.028 125.9)
#313B22 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) | #3E3820 | 0.023 |
| Deuteranopia (no green cones) | #3C3723 | 0.022 |
| Tritanopia (no blue cones) | #323935 | 0.034 |
| Achromatopsia (no color) | #383838 | 0.044 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #313B22
#313B22
oklch(33.6% 0.043 126.4)
- #3C3149
#3C3149
oklch(33.5% 0.044 305.1)
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 #313B22, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.026
- Dark Olive #373E02 ΔE 0.037
- Evergreen #05472A ΔE 0.051
- Onyx #343A40 ΔE 0.053
- Charcoal Grey #3C4142 ΔE 0.056
- Pine Green #0A481E ΔE 0.058
- Hunter Green #0B4008 ΔE 0.060
- Forrest Green #154406 ΔE 0.061
Use #313B22 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.