#5D940B
Closest named color: Dark Yellow Green (#728F02). oklch(60.5% 0.162 131.2), rgb(93, 148, 11).
Aa
Black text reads best on this color (5.70:1).
About this color
#5D940B is a medium-dark, vivid green. In OKLCH its lightness is 60%, its chroma 0.162 and its hue 131°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Yellow Green (#728F02), ΔE 0.027 away. Black text reads best on it, at 5.70:1.
| Hue family | Greens |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.162) |
| Temperature | in between |
| Nearest name | Dark Yellow Green (#728F02) |
| Black text | 5.70:1 |
| White text | 3.68:1 |
Values
| HEX | #5D940B |
| RGB | rgb(93, 148, 11) |
| HSL | hsl(84, 86%, 31%) |
| OKLCH | oklch(60.5% 0.162 131.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 #5D940B | 3.68:1 | AA large text | Lc -69.6 | Content text, not long reading |
| Black text on #5D940B | 5.70:1 | AA | Lc 40.0 | Non-text elements, placeholder text |
| #5D940B text on white | 3.68:1 | AA large text | Lc 64.1 | Content text, not long reading |
| #5D940B text on black | 5.70:1 | AA | Lc -37.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
#F3F7F0
oklch(97.1% 0.01 131.4)
-
Step 100
100
#E4EDDE
oklch(93.5% 0.022 132.5)
-
Step 200
200
#CFE0C2
oklch(88.6% 0.044 131.5)
-
Step 300
300
#AFCC96
oklch(81% 0.08 131)
-
Step 400
400
#84B159
oklch(70.8% 0.127 131.3)
-
Step 500
500 (this color)
#5D940B
oklch(60.5% 0.162 131.2)
-
Step 600
600
#528400
oklch(55.6% 0.152 131.1)
-
Step 700
700
#446F00
oklch(49.1% 0.134 131.1)
-
Step 800
800
#375B00
oklch(42.7% 0.117 131.1)
-
Step 900
900
#2D4C00
oklch(37.8% 0.103 131.1)
-
Step 950
950
#1A2D05
oklch(27.1% 0.067 131.6)
#5D940B 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) | #9B8800 | 0.088 |
| Deuteranopia (no green cones) | #948420 | 0.088 |
| Tritanopia (no blue cones) | #5F8D7D | 0.124 |
| Achromatopsia (no color) | #858585 | 0.163 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5D940B
#5D940B
oklch(60.5% 0.162 131.2)
- #A160C8
#A160C8
oklch(60.5% 0.164 311.3)
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 #5D940B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Yellow Green #728F02 ΔE 0.027
- Sap Green #5C8B15 ΔE 0.028
- Olive Drab #6B8E23 ΔE 0.029
- Grass Green #3F9B0B ΔE 0.032
- Grassy Green #419C03 ΔE 0.033
- Mossy Green #638B27 ΔE 0.033
- Moss Green #658B38 ΔE 0.045
- Swamp Green #748500 ΔE 0.048
Use #5D940B 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.