#5F7218
Closest named color: Muddy Green (#657432). oklch(51.9% 0.114 121.2), rgb(95, 114, 24).
Aa
White text reads best on this color (5.37:1).
About this color
#5F7218 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 52%, its chroma 0.114 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Muddy Green (#657432), ΔE 0.025 away. White text reads best on it, at 5.37:1.
| Hue family | Yellows |
| Lightness | medium-dark (52%) |
| Chroma | moderately saturated (0.114) |
| Temperature | in between |
| Nearest name | Muddy Green (#657432) |
| Black text | 3.90:1 |
| White text | 5.37:1 |
Values
| HEX | #5F7218 |
| RGB | rgb(95, 114, 24) |
| HSL | hsl(73, 65%, 27%) |
| OKLCH | oklch(51.9% 0.114 121.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 #5F7218 | 5.37:1 | AA | Lc -82.0 | Fine for body text |
| Black text on #5F7218 | 3.90:1 | AA large text | Lc 27.4 | Dividers and decoration only |
| #5F7218 text on white | 5.37:1 | AA | Lc 76.7 | Fine for body text |
| #5F7218 text on black | 3.90:1 | AA large text | Lc -25.1 | Dividers and decoration only |
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 700.
-
Step 50
50
#F4F6F1
oklch(97% 0.007 124.4)
-
Step 100
100
#E8ECE0
oklch(93.7% 0.017 121.8)
-
Step 200
200
#D6DDC6
oklch(88.6% 0.032 120.8)
-
Step 300
300
#BBC79F
oklch(81% 0.056 121.2)
-
Step 400
400
#98A96A
oklch(70.6% 0.088 121)
-
Step 500
500
#7F9440
oklch(63.2% 0.113 121.4)
-
Step 600
600
#697E1B
oklch(55.7% 0.123 121.3)
-
Step 700
700 (this color)
#5F7218
oklch(51.9% 0.114 121.2)
-
Step 800
800
#47560F
oklch(42.6% 0.094 121.2)
-
Step 900
900
#3C4716
oklch(37.6% 0.073 120.7)
-
Step 950
950
#232A0E
oklch(27% 0.047 121.3)
#5F7218 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) | #796B04 | 0.041 |
| Deuteranopia (no green cones) | #776B20 | 0.043 |
| Tritanopia (no blue cones) | #656C61 | 0.095 |
| Achromatopsia (no color) | #6A6A6A | 0.114 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F7218
#5F7218
oklch(51.9% 0.114 121.2)
- #74579F
#74579F
oklch(51.8% 0.114 301.1)
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 #5F7218, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Muddy Green #657432 ΔE 0.025
- Browny Green #6F6C0A ΔE 0.027
- Brown Green #706C11 ΔE 0.029
- Olive Green #677A04 ΔE 0.030
- Murky Green #6C7A0E ΔE 0.032
- Mud Green #606602 ΔE 0.034
- Dark Olive Green #556B2F ΔE 0.035
- Dark Moss Green #606C38 ΔE 0.039
Use #5F7218 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.