#313C23
Closest named color: Pakistan Green (#283618). oklch(33.9% 0.044 127.9), rgb(49, 60, 35).
Aa
White text reads best on this color (11.65:1).
About this color
#313C23 is a dark, muted green. In OKLCH its lightness is 34%, its chroma 0.044 and its hue 128°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.028 away. White text reads best on it, at 11.65:1.
| Hue family | Greens |
| Lightness | dark (34%) |
| Chroma | muted (0.044) |
| Temperature | in between |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.80:1 |
| White text | 11.65:1 |
Values
| HEX | #313C23 |
| RGB | rgb(49, 60, 35) |
| HSL | hsl(86, 26%, 19%) |
| OKLCH | oklch(33.9% 0.044 127.9) |
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 #313C23 | 11.65:1 | AAA | Lc -100.4 | Preferred for body text |
| Black text on #313C23 | 1.80:1 | Fails | Lc 0.0 | Not readable |
| #313C23 text on white | 11.65:1 | AAA | Lc 96.8 | Preferred for body text |
| #313C23 text on black | 1.80: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
#F4F6F3
oklch(97.1% 0.004 134.8)
-
Step 100
100
#E8EBE4
oklch(93.6% 0.01 125.7)
-
Step 200
200
#D6DCCF
oklch(88.6% 0.019 127.2)
-
Step 300
300
#BAC5AF
oklch(80.9% 0.033 128.9)
-
Step 400
400
#97A784
oklch(70.6% 0.053 127.7)
-
Step 500
500
#7E9265
oklch(63.2% 0.068 127.7)
-
Step 600
600
#677C4C
oklch(55.7% 0.074 127.9)
-
Step 700
700
#56683D
oklch(49.1% 0.068 127.2)
-
Step 800
800
#465533
oklch(42.7% 0.056 128)
-
Step 900
900 (this color)
#313C23
oklch(33.9% 0.044 127.9)
-
Step 950
950
#22291A
oklch(26.9% 0.028 128.5)
#313C23 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) | #3E3921 | 0.022 |
| Deuteranopia (no green cones) | #3D3824 | 0.024 |
| Tritanopia (no blue cones) | #323A36 | 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°).
- #313C23
#313C23
oklch(33.9% 0.044 127.9)
- #3E3149
#3E3149
oklch(33.8% 0.045 308.8)
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 #313C23, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.028
- Dark Olive #373E02 ΔE 0.036
- Evergreen #05472A ΔE 0.049
- Onyx #343A40 ΔE 0.052
- Charcoal Grey #3C4142 ΔE 0.054
- Pine Green #0A481E ΔE 0.056
- Hunter Green #0B4008 ΔE 0.060
- Forrest Green #154406 ΔE 0.060
Use #313C23 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.