#5C8107
Closest named color: Olive Green (#677A04). oklch(55.5% 0.141 127.2), rgb(92, 129, 7).
Aa
Black text reads best on this color (4.59:1).
About this color
#5C8107 is a medium-dark, vivid green. In OKLCH its lightness is 55%, its chroma 0.141 and its hue 127°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive Green (#677A04), ΔE 0.024 away. Black text reads best on it, at 4.59:1.
| Hue family | Greens |
| Lightness | medium-dark (55%) |
| Chroma | vivid (0.141) |
| Temperature | in between |
| Nearest name | Olive Green (#677A04) |
| Black text | 4.59:1 |
| White text | 4.56:1 |
Values
| HEX | #5C8107 |
| RGB | rgb(92, 129, 7) |
| HSL | hsl(78, 90%, 27%) |
| OKLCH | oklch(55.5% 0.141 127.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 #5C8107 | 4.56:1 | AA | Lc -77.0 | Fine for body text |
| Black text on #5C8107 | 4.59:1 | AA | Lc 32.6 | Non-text elements, placeholder text |
| #5C8107 text on white | 4.56:1 | AA | Lc 71.5 | Content text, not long reading |
| #5C8107 text on black | 4.59:1 | AA | Lc -30.2 | 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 600.
-
Step 50
50
#F4F7F1
oklch(97.2% 0.009 128.6)
-
Step 100
100
#E6ECDF
oklch(93.5% 0.018 127.1)
-
Step 200
200
#D3DEC5
oklch(88.5% 0.036 126.6)
-
Step 300
300
#B5C99D
oklch(80.9% 0.064 127.7)
-
Step 400
400
#8FAD66
oklch(70.8% 0.102 127.5)
-
Step 500
500
#749738
oklch(63% 0.129 126.9)
-
Step 600
600 (this color)
#5C8107
oklch(55.5% 0.141 127.2)
-
Step 700
700
#4D6D00
oklch(49.1% 0.127 127.1)
-
Step 800
800
#3E5903
oklch(42.6% 0.109 127.4)
-
Step 900
900
#354911
oklch(37.6% 0.084 127.1)
-
Step 950
950
#1F2B0C
oklch(27% 0.053 127.4)
#5C8107 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) | #887700 | 0.068 |
| Deuteranopia (no green cones) | #83751A | 0.067 |
| Tritanopia (no blue cones) | #607A6D | 0.114 |
| Achromatopsia (no color) | #767676 | 0.141 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5C8107
#5C8107
oklch(55.5% 0.141 127.2)
- #8959B2
#8959B2
oklch(55.5% 0.141 307.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 #5C8107, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Olive Green #677A04 ΔE 0.024
- Sap Green #5C8B15 ΔE 0.029
- Murky Green #6C7A0E ΔE 0.029
- Mossy Green #638B27 ΔE 0.033
- Swamp Green #748500 ΔE 0.035
- Dark Grass Green #388004 ΔE 0.039
- Swamp #698339 ΔE 0.040
- Moss Green #658B38 ΔE 0.041
Use #5C8107 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.