#303E18
Closest named color: Dark Olive (#373E02). oklch(34.1% 0.062 126.3), rgb(48, 62, 24).
Aa
White text reads best on this color (11.48:1).
About this color
#303E18 is a dark, muted green. In OKLCH its lightness is 34%, its chroma 0.062 and its hue 126°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.020 away. White text reads best on it, at 11.48:1.
| Hue family | Greens |
| Lightness | dark (34%) |
| Chroma | muted (0.062) |
| Temperature | in between |
| Nearest name | Dark Olive (#373E02) |
| Black text | 1.82:1 |
| White text | 11.48:1 |
Values
| HEX | #303E18 |
| RGB | rgb(48, 62, 24) |
| HSL | hsl(82, 44%, 17%) |
| OKLCH | oklch(34.1% 0.062 126.3) |
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 #303E18 | 11.48:1 | AAA | Lc -100.1 | Preferred for body text |
| Black text on #303E18 | 1.82:1 | Fails | Lc 7.5 | Not readable |
| #303E18 text on white | 11.48:1 | AAA | Lc 96.4 | Preferred for body text |
| #303E18 text on black | 1.82: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
#F4F6F2
oklch(97.1% 0.006 128.5)
-
Step 100
100
#E7ECE2
oklch(93.7% 0.014 128.6)
-
Step 200
200
#D5DDCA
oklch(88.6% 0.027 125.6)
-
Step 300
300
#B9C7A6
oklch(81% 0.048 126.2)
-
Step 400
400
#95A976
oklch(70.6% 0.074 125.6)
-
Step 500
500
#7B9452
oklch(63.1% 0.096 126)
-
Step 600
600
#647E36
oklch(55.6% 0.104 126.1)
-
Step 700
700
#536A28
oklch(49% 0.096 125.9)
-
Step 800
800
#445723
oklch(42.8% 0.08 126.3)
-
Step 900
900 (this color)
#303E18
oklch(34.1% 0.062 126.3)
-
Step 950
950
#212A14
oklch(27% 0.04 127.1)
#303E18 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) | #413A14 | 0.029 |
| Deuteranopia (no green cones) | #3F391A | 0.030 |
| Tritanopia (no blue cones) | #323B35 | 0.049 |
| Achromatopsia (no color) | #393939 | 0.062 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #303E18
#303E18
oklch(34.1% 0.062 126.3)
- #402F52
#402F52
oklch(34.1% 0.063 305.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 #303E18, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Olive #373E02 ΔE 0.020
- Pakistan Green #283618 ΔE 0.031
- Evergreen #05472A ΔE 0.043
- Pine Green #0A481E ΔE 0.044
- Forrest Green #154406 ΔE 0.044
- Hunter Green #0B4008 ΔE 0.046
- British Racing Green #05480D ΔE 0.054
- Darkgreen #054907 ΔE 0.058
Use #303E18 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.