#313A27
Closest named color: Pakistan Green (#283618). oklch(33.4% 0.034 128.7), rgb(49, 58, 39).
Aa
White text reads best on this color (11.89:1).
About this color
#313A27 is a dark, muted green. In OKLCH its lightness is 33%, its chroma 0.034 and its hue 129°. 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.89:1.
| Hue family | Greens |
| Lightness | dark (33%) |
| Chroma | muted (0.034) |
| Temperature | in between |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.76:1 |
| White text | 11.89:1 |
Values
| HEX | #313A27 |
| RGB | rgb(49, 58, 39) |
| HSL | hsl(88, 20%, 19%) |
| OKLCH | oklch(33.4% 0.034 128.7) |
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 #313A27 | 11.89:1 | AAA | Lc -100.8 | Preferred for body text |
| Black text on #313A27 | 1.76:1 | Fails | Lc 0.0 | Not readable |
| #313A27 text on white | 11.89:1 | AAA | Lc 97.3 | Preferred for body text |
| #313A27 text on black | 1.76: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
#E8EBE6
oklch(93.6% 0.007 132.4)
-
Step 200
200
#D6DBD1
oklch(88.5% 0.015 128.6)
-
Step 300
300
#BBC4B3
oklch(80.9% 0.025 130)
-
Step 400
400
#99A68B
oklch(70.7% 0.041 128.4)
-
Step 500
500
#80906E
oklch(63.1% 0.053 128.3)
-
Step 600
600
#697A56
oklch(55.6% 0.057 128.7)
-
Step 700
700
#576746
oklch(49.1% 0.054 129.2)
-
Step 800
800
#48543A
oklch(42.8% 0.044 128.3)
-
Step 900
900 (this color)
#313A27
oklch(33.4% 0.034 128.7)
-
Step 950
950
#23291D
oklch(27.1% 0.023 129.5)
#313A27 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) | #3C3726 | 0.020 |
| Deuteranopia (no green cones) | #3B3728 | 0.019 |
| Tritanopia (no blue cones) | #323835 | 0.027 |
| Achromatopsia (no color) | #373737 | 0.034 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #313A27
#313A27
oklch(33.4% 0.034 128.7)
- #3B3244
#3B3244
oklch(33.4% 0.033 307.4)
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 #313A27, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.029
- Onyx #343A40 ΔE 0.044
- Dark Olive #373E02 ΔE 0.046
- Charcoal Grey #3C4142 ΔE 0.050
- Evergreen #05472A ΔE 0.055
- Gunmetal #293241 ΔE 0.061
- Pine Green #0A481E ΔE 0.064
- Dark Blue Grey #1F3B4D ΔE 0.067
Use #313A27 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.