#5E811F#5E811F
#5E811F is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.7% C 0.130 H 127.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #5E811F |
|---|---|
| RGB | rgb(94, 129, 31) |
| HSL | hsl(81, 61%, 31%) |
| HSV | hsv(81, 76%, 51%) |
| CMYK | cmyk(27.1%, 0%, 76%, 49.4%) |
| CIE-LAB | lab(49.71, -27.53, 46.07) |
| CIE-LCH | lch(49.71, 53.67, 120.86°) |
| OKLab | oklab(55.72% -0.079 0.1028) |
| OKLCH | oklch(55.72% 0.13 127.6) |
| XYZ | xyz(12.7137, 18.1789, 4.1351) |
| Luminance | 0.1818 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.35
Dirty Green
#667E2C
ΔE00 2.71
Mossy Green
#638B27
ΔE00 3.63
Swamp
#698339
ΔE00 3.88
Sap Green
#5C8B15
ΔE00 3.90
Moss Green (survey)
#658B38
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E811F #421F81
analogous
#81731F #5E811F #2D811F
triadic
#5E811F #1F5E81 #811F5E
tetradic
#5E811F #1F8173 #421F81 #811F2D
square
#5E811F #1F8173 #421F81 #811F2D
split-complementary
#5E811F #1F2D81 #731F81
monochromatic
#161E07 #3A5013 #5E811F #82B22B #A1D347
Accessibility & contrast
On white
4.53
#5E811F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#5E811F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E811F
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E811F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E811F | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88780B
Deuteranopia (green-blind)
#837628
Tritanopia (blue-blind)
#627B6E
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #5e811f; /* rgb */ color: rgb(94, 129, 31); /* oklch */ color: oklch(55.7% 0.130 127.6);
Tailwind
colors: {
custom: {
50: '#8fa562',
500: '#5e811f',
950: '#000000',
},
}SCSS
$custom: #5e811f; $custom-light: #8fa562; $custom-dark: #000000;
JSON
{
"hex": "#5e811f",
"rgb": {
"r": 94,
"g": 129,
"b": 31
},
"hsl": {
"h": 81.429,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.55716,
"c": 0.12962,
"h": 127.6
},
"luminance": 0.18179
}Semantic roles & 50–950 ramp
primary
#5E811F
secondary
#6E48B4
accent
#43E47D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A