#304512
Closest named color: Dark Olive (#373E02). oklch(36.1% 0.08 129), rgb(48, 69, 18).
Aa
White text reads best on this color (10.57:1).
About this color
#304512 is a dark, moderately saturated green. In OKLCH its lightness is 36%, its chroma 0.080 and its hue 129°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.023 away. White text reads best on it, at 10.57:1.
| Hue family | Greens |
| Lightness | dark (36%) |
| Chroma | moderately saturated (0.080) |
| Temperature | in between |
| Nearest name | Dark Olive (#373E02) |
| Black text | 1.98:1 |
| White text | 10.57:1 |
Values
| HEX | #304512 |
| RGB | rgb(48, 69, 18) |
| HSL | hsl(85, 59%, 17%) |
| OKLCH | oklch(36.1% 0.08 129) |
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 #304512 | 10.57:1 | AAA | Lc -98.4 | Preferred for body text |
| Black text on #304512 | 1.98:1 | Fails | Lc 9.5 | Not readable |
| #304512 text on white | 10.57:1 | AAA | Lc 94.4 | Preferred for body text |
| #304512 text on black | 1.98:1 | Fails | Lc -8.2 | 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
#F4F7F1
oklch(97.2% 0.009 128.6)
-
Step 100
100
#E6ECE0
oklch(93.5% 0.017 128.7)
-
Step 200
200
#D2DEC7
oklch(88.5% 0.034 129.7)
-
Step 300
300
#B5C9A0
oklch(81% 0.06 128.9)
-
Step 400
400
#8EAC6B
oklch(70.6% 0.095 128.8)
-
Step 500
500
#729742
oklch(63% 0.121 129)
-
Step 600
600
#5B811E
oklch(55.5% 0.132 128.7)
-
Step 700
700
#4A6D0E
oklch(49% 0.123 129)
-
Step 800
800
#3D5911
oklch(42.6% 0.102 129)
-
Step 900
900 (this color)
#304512
oklch(36.1% 0.08 129)
-
Step 950
950
#1F2B0F
oklch(27% 0.05 128.5)
#304512 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) | #49400B | 0.041 |
| Deuteranopia (no green cones) | #463E16 | 0.042 |
| Tritanopia (no blue cones) | #32423B | 0.062 |
| Achromatopsia (no color) | #3F3F3F | 0.080 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #304512
#304512
oklch(36.1% 0.08 129)
- #49305D
#49305D
oklch(36% 0.081 308.5)
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 #304512, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Olive #373E02 ΔE 0.023
- Pine Green #0A481E ΔE 0.033
- Forrest Green #154406 ΔE 0.034
- British Racing Green #05480D ΔE 0.040
- Evergreen #05472A ΔE 0.040
- Darkgreen #054907 ΔE 0.042
- Bottle Green #044A05 ΔE 0.044
- Hunter Green #0B4008 ΔE 0.046
Use #304512 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.