#313F27
Closest named color: Pakistan Green (#283618). oklch(34.8% 0.044 132.9), rgb(49, 63, 39).
Aa
White text reads best on this color (11.22:1).
About this color
#313F27 is a dark, muted green. In OKLCH its lightness is 35%, its chroma 0.044 and its hue 133°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.037 away. White text reads best on it, at 11.22:1.
| Hue family | Greens |
| Lightness | dark (35%) |
| Chroma | muted (0.044) |
| Temperature | in between |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.87:1 |
| White text | 11.22:1 |
Values
| HEX | #313F27 |
| RGB | rgb(49, 63, 39) |
| HSL | hsl(95, 24%, 20%) |
| OKLCH | oklch(34.8% 0.044 132.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 #313F27 | 11.22:1 | AAA | Lc -99.7 | Preferred for body text |
| Black text on #313F27 | 1.87:1 | Fails | Lc 8.0 | Not readable |
| #313F27 text on white | 11.22:1 | AAA | Lc 95.9 | Preferred for body text |
| #313F27 text on black | 1.87: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
#E7EBE5
oklch(93.5% 0.009 134.9)
-
Step 200
200
#D4DCD0
oklch(88.5% 0.018 134.9)
-
Step 300
300
#B8C6B0
oklch(81% 0.034 134)
-
Step 400
400
#94A886
oklch(70.7% 0.053 132.5)
-
Step 500
500
#7A9368
oklch(63.2% 0.068 132.6)
-
Step 600
600
#627D50
oklch(55.6% 0.074 133.5)
-
Step 700
700
#516940
oklch(49% 0.069 133.1)
-
Step 800
800
#435635
oklch(42.8% 0.057 132.7)
-
Step 900
900 (this color)
#313F27
oklch(34.8% 0.044 132.9)
-
Step 950
950
#21291B
oklch(26.8% 0.028 132.2)
#313F27 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) | #413C25 | 0.026 |
| Deuteranopia (no green cones) | #3F3A28 | 0.028 |
| Tritanopia (no blue cones) | #313D39 | 0.033 |
| Achromatopsia (no color) | #3B3B3B | 0.044 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #313F27
#313F27
oklch(34.8% 0.044 132.9)
- #42334A
#42334A
oklch(34.7% 0.044 313.6)
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 #313F27, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.037
- Dark Olive #373E02 ΔE 0.038
- Evergreen #05472A ΔE 0.044
- Charcoal Grey #3C4142 ΔE 0.049
- Onyx #343A40 ΔE 0.051
- Pine Green #0A481E ΔE 0.052
- Forrest Green #154406 ΔE 0.059
- Hunter Green #0B4008 ΔE 0.061
Use #313F27 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.