#313A26
Closest named color: Pakistan Green (#283618). oklch(33.4% 0.036 127.9), rgb(49, 58, 38).
Aa
White text reads best on this color (11.90:1).
About this color
#313A26 is a dark, muted green. In OKLCH its lightness is 33%, its chroma 0.036 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.90:1.
| Hue family | Greens |
| Lightness | dark (33%) |
| Chroma | muted (0.036) |
| Temperature | in between |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.76:1 |
| White text | 11.90:1 |
Values
| HEX | #313A26 |
| RGB | rgb(49, 58, 38) |
| HSL | hsl(87, 21%, 19%) |
| OKLCH | oklch(33.4% 0.036 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 #313A26 | 11.90:1 | AAA | Lc -100.9 | Preferred for body text |
| Black text on #313A26 | 1.76:1 | Fails | Lc 0.0 | Not readable |
| #313A26 text on white | 11.90:1 | AAA | Lc 97.3 | Preferred for body text |
| #313A26 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
#E8EBE5
oklch(93.6% 0.009 128.6)
-
Step 200
200
#D6DBD1
oklch(88.5% 0.015 128.6)
-
Step 300
300
#BCC4B2
oklch(80.9% 0.026 126.6)
-
Step 400
400
#99A68A
oklch(70.7% 0.042 127.8)
-
Step 500
500
#80906D
oklch(63.1% 0.054 127.8)
-
Step 600
600
#697A54
oklch(55.5% 0.06 127.8)
-
Step 700
700
#586745
oklch(49.2% 0.055 127.6)
-
Step 800
800
#485439
oklch(42.7% 0.045 127.7)
-
Step 900
900 (this color)
#313A26
oklch(33.4% 0.036 127.9)
-
Step 950
950
#23291D
oklch(27.1% 0.023 129.5)
#313A26 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) | #3C3725 | 0.020 |
| Deuteranopia (no green cones) | #3B3727 | 0.019 |
| Tritanopia (no blue cones) | #323835 | 0.029 |
| Achromatopsia (no color) | #373737 | 0.036 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #313A26
#313A26
oklch(33.4% 0.036 127.9)
- #3B3145
#3B3145
oklch(33.2% 0.037 307.2)
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 #313A26, 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.045
- Onyx #343A40 ΔE 0.045
- Charcoal Grey #3C4142 ΔE 0.051
- Evergreen #05472A ΔE 0.055
- Gunmetal #293241 ΔE 0.063
- Pine Green #0A481E ΔE 0.064
- Hunter Green #0B4008 ΔE 0.066
Use #313A26 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.