#5B940D
Closest named color: Sap Green (#5C8B15). oklch(60.4% 0.163 131.8), rgb(91, 148, 13).
Aa
Black text reads best on this color (5.68:1).
About this color
#5B940D is a medium-dark, vivid green. In OKLCH its lightness is 60%, its chroma 0.163 and its hue 132°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sap Green (#5C8B15), ΔE 0.027 away. Black text reads best on it, at 5.68:1.
| Hue family | Greens |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.163) |
| Temperature | in between |
| Nearest name | Sap Green (#5C8B15) |
| Black text | 5.68:1 |
| White text | 3.69:1 |
Values
| HEX | #5B940D |
| RGB | rgb(91, 148, 13) |
| HSL | hsl(85, 84%, 32%) |
| OKLCH | oklch(60.4% 0.163 131.8) |
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 #5B940D | 3.69:1 | AA large text | Lc -69.7 | Content text, not long reading |
| Black text on #5B940D | 5.68:1 | AA | Lc 39.8 | Non-text elements, placeholder text |
| #5B940D text on white | 3.69:1 | AA large text | Lc 64.2 | Content text, not long reading |
| #5B940D text on black | 5.68:1 | AA | Lc -37.4 | 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
#AECC96
oklch(80.9% 0.08 131.6)
-
Step 400
400
#83B159
oklch(70.7% 0.128 131.7)
-
Step 500
500 (this color)
#5B940D
oklch(60.4% 0.163 131.8)
-
Step 600
600
#508400
oklch(55.5% 0.153 131.6)
-
Step 700
700
#426F00
oklch(49% 0.136 131.8)
-
Step 800
800
#355B00
oklch(42.6% 0.118 131.9)
-
Step 900
900
#2C4C00
oklch(37.7% 0.104 131.6)
-
Step 950
950
#1A2D05
oklch(27.1% 0.067 131.6)
#5B940D 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.090 |
| Deuteranopia (no green cones) | #938321 | 0.090 |
| Tritanopia (no blue cones) | #5C8D7D | 0.124 |
| Achromatopsia (no color) | #858585 | 0.164 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5B940D
#5B940D
oklch(60.4% 0.163 131.8)
- #A160C7
#A160C7
oklch(60.4% 0.163 311.6)
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 #5B940D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Sap Green #5C8B15 ΔE 0.027
- Dark Yellow Green #728F02 ΔE 0.029
- Olive Drab #6B8E23 ΔE 0.030
- Grass Green #3F9B0B ΔE 0.030
- Grassy Green #419C03 ΔE 0.032
- Mossy Green #638B27 ΔE 0.034
- Moss Green #658B38 ΔE 0.045
- Fern Green #548D44 ΔE 0.049
Use #5B940D 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.