#5E821A#5E821A
#5E821A is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.9% C 0.134 H 127.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #5E821A |
|---|---|
| RGB | rgb(94, 130, 26) |
| HSL | hsl(81, 67%, 31%) |
| HSV | hsv(81, 80%, 51%) |
| CMYK | cmyk(27.7%, 0%, 80%, 49%) |
| CIE-LAB | lab(50.00, -28.30, 48.10) |
| CIE-LCH | lch(50.00, 55.81, 120.47°) |
| OKLab | oklab(55.94% -0.0815 0.1062) |
| OKLCH | oklch(55.94% 0.134 127.5) |
| XYZ | xyz(12.7852, 18.4193, 3.8588) |
| Luminance | 0.1842 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 1.86
Dirty Green
#667E2C
ΔE00 3.24
Mossy Green
#638B27
ΔE00 3.38
Sap Green
#5C8B15
ΔE00 3.40
Swamp
#698339
ΔE00 4.36
Olivedrab
#6B8E23
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E821A #3E1A82
analogous
#82721A #5E821A #2A821A
triadic
#5E821A #1A5E82 #821A5E
tetradic
#5E821A #1A8272 #3E1A82 #821A2A
square
#5E821A #1A8272 #3E1A82 #821A2A
split-complementary
#5E821A #1A2A82 #721A82
monochromatic
#141C06 #394F10 #5E821A #83B524 #A3D83E
Accessibility & contrast
On white
4.48
#5E821A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#5E821A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5E821A
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E821A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5E821A | 1.00 | 4.48 | 4.68 | 4.68 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#627C6F
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #5e821a; /* rgb */ color: rgb(94, 130, 26); /* oklch */ color: oklch(55.9% 0.134 127.5);
Tailwind
colors: {
custom: {
50: '#8fa660',
500: '#5e821a',
950: '#000000',
},
}SCSS
$custom: #5e821a; $custom-light: #8fa660; $custom-dark: #000000;
JSON
{
"hex": "#5e821a",
"rgb": {
"r": 94,
"g": 130,
"b": 26
},
"hsl": {
"h": 80.769,
"s": 66.667,
"l": 30.588
},
"oklch": {
"l": 0.55941,
"c": 0.13384,
"h": 127.5
},
"luminance": 0.1842
}Semantic roles & 50–950 ramp
primary
#5E821A
secondary
#6A42B6
accent
#3EEA7A
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79