#304F23
Closest named color: Navy Green (#35530A). oklch(39.2% 0.079 137.2), rgb(48, 79, 35).
Aa
White text reads best on this color (9.25:1).
About this color
#304F23 is a dark, moderately saturated green. In OKLCH its lightness is 39%, its chroma 0.079 and its hue 137°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Navy Green (#35530A), ΔE 0.029 away. White text reads best on it, at 9.25:1.
| Hue family | Greens |
| Lightness | dark (39%) |
| Chroma | moderately saturated (0.079) |
| Temperature | in between |
| Nearest name | Navy Green (#35530A) |
| Black text | 2.26:1 |
| White text | 9.25:1 |
Values
| HEX | #304F23 |
| RGB | rgb(48, 79, 35) |
| HSL | hsl(102, 39%, 22%) |
| OKLCH | oklch(39.2% 0.079 137.2) |
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 #304F23 | 9.25:1 | AAA | Lc -95.6 | Preferred for body text |
| Black text on #304F23 | 2.26:1 | Fails | Lc 12.7 | Not readable |
| #304F23 text on white | 9.25:1 | AAA | Lc 91.2 | Preferred for body text |
| #304F23 text on black | 2.26:1 | Fails | Lc -11.1 | 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
#F3F7F2
oklch(97.2% 0.008 139.4)
-
Step 100
100
#E5EDE2
oklch(93.7% 0.017 137)
-
Step 200
200
#CFDFCA
oklch(88.6% 0.033 138.2)
-
Step 300
300
#AFCAA5
oklch(80.9% 0.059 137.3)
-
Step 400
400
#84AF74
oklch(70.8% 0.095 137.5)
-
Step 500
500
#659A4F
oklch(63.1% 0.12 137.2)
-
Step 600
600
#4B8431
oklch(55.5% 0.131 137.2)
-
Step 700
700
#3C7023
oklch(49.1% 0.122 137.1)
-
Step 800
800
#325B1F
oklch(42.6% 0.101 137.1)
-
Step 900
900 (this color)
#304F23
oklch(39.2% 0.079 137.2)
-
Step 950
950
#1A2C13
oklch(27% 0.05 137.5)
#304F23 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) | #52491F | 0.052 |
| Deuteranopia (no green cones) | #4D4626 | 0.052 |
| Tritanopia (no blue cones) | #2F4C45 | 0.056 |
| Achromatopsia (no color) | #474747 | 0.079 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #304F23
#304F23
oklch(39.2% 0.079 137.2)
- #563761
#563761
oklch(39.1% 0.078 316.9)
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 #304F23, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Navy Green #35530A ΔE 0.029
- Pine #2B5D34 ΔE 0.044
- Pine Green #0A481E ΔE 0.044
- Forest #0B5509 ΔE 0.048
- Evergreen #05472A ΔE 0.049
- Spruce #0A5F38 ΔE 0.052
- British Racing Green #05480D ΔE 0.053
- Bottle Green #044A05 ΔE 0.053
Use #304F23 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.