#5F9840
Closest named color: Flat Green (#699D4C). oklch(62% 0.135 135.9), rgb(95, 152, 64).
Aa
Black text reads best on this color (6.05:1).
About this color
#5F9840 is a medium-light, moderately saturated green. In OKLCH its lightness is 62%, its chroma 0.135 and its hue 136°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Flat Green (#699D4C), ΔE 0.022 away. Black text reads best on it, at 6.05:1.
| Hue family | Greens |
| Lightness | medium-light (62%) |
| Chroma | moderately saturated (0.135) |
| Temperature | in between |
| Nearest name | Flat Green (#699D4C) |
| Black text | 6.05:1 |
| White text | 3.46:1 |
Values
| HEX | #5F9840 |
| RGB | rgb(95, 152, 64) |
| HSL | hsl(99, 41%, 42%) |
| OKLCH | oklch(62% 0.135 135.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 #5F9840 | 3.46:1 | AA large text | Lc -67.6 | Content text, not long reading |
| Black text on #5F9840 | 6.05:1 | AA | Lc 42.0 | Non-text elements, placeholder text |
| #5F9840 text on white | 3.46:1 | AA large text | Lc 62.1 | Content text, not long reading |
| #5F9840 text on black | 6.05:1 | AA | Lc -39.6 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#F3F7F1
oklch(97.1% 0.009 134.9)
-
Step 100
100
#E4EDE0
oklch(93.6% 0.02 135.8)
-
Step 200
200
#CFDFC7
oklch(88.5% 0.037 135)
-
Step 300
300
#AECBA1
oklch(80.9% 0.066 136)
-
Step 400
400
#82B06C
oklch(70.7% 0.107 136)
-
Step 500
500 (this color)
#5F9840
oklch(62% 0.135 135.9)
-
Step 600
600
#488520
oklch(55.5% 0.146 135.8)
-
Step 700
700
#397111
oklch(49.1% 0.137 135.9)
-
Step 800
800
#305C13
oklch(42.7% 0.113 135.8)
-
Step 900
900
#2B4C18
oklch(37.8% 0.088 135.8)
-
Step 950
950
#192C0F
oklch(26.8% 0.056 136)
#5F9840 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) | #9D8D37 | 0.084 |
| Deuteranopia (no green cones) | #958846 | 0.084 |
| Tritanopia (no blue cones) | #5D9385 | 0.096 |
| Achromatopsia (no color) | #8A8A8A | 0.136 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F9840
#5F9840
oklch(62% 0.135 135.9)
- #A56BBD
#A56BBD
oklch(62.1% 0.134 315.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 #5F9840, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Flat Green #699D4C ΔE 0.022
- Muted Green #5FA052 ΔE 0.026
- Olive Drab #6B8E23 ΔE 0.031
- Drab Green #749551 ΔE 0.036
- Moss Green #658B38 ΔE 0.036
- Light Forest Green #4F9153 ΔE 0.037
- Mossy Green #638B27 ΔE 0.037
- Fern Green #548D44 ΔE 0.037
Use #5F9840 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.