#5A781E#5A781E
#5A781E is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 53.1% C 0.120 H 126.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5A781E |
|---|---|
| RGB | rgb(90, 120, 30) |
| HSL | hsl(80, 60%, 29%) |
| HSV | hsv(80, 75%, 47%) |
| CMYK | cmyk(25%, 0%, 75%, 52.9%) |
| CIE-LAB | lab(46.58, -24.84, 43.29) |
| CIE-LCH | lch(46.58, 49.91, 119.85°) |
| OKLab | oklab(53.1% -0.0715 0.0968) |
| OKLCH | oklch(53.1% 0.12 126.4) |
| XYZ | xyz(11.1673, 15.7002, 3.6701) |
| Luminance | 0.1570 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 3.16
Muddy Green
#657432
ΔE00 4.50
Avocado
#568203
ΔE00 4.52
Olive Green
#677A04
ΔE00 4.60
Military Green
#667C3E
ΔE00 5.23
Swamp
#698339
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A781E #3C1E78
analogous
#78691E #5A781E #2D781E
triadic
#5A781E #1E5A78 #781E5A
tetradic
#5A781E #1E7869 #3C1E78 #781E2D
square
#5A781E #1E7869 #3C1E78 #781E2D
split-complementary
#5A781E #1E2D78 #691E78
monochromatic
#121806 #354712 #5A781E #7FA92A #A0CF41
Accessibility & contrast
On white
5.07
#5A781E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#5A781E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A781E
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A781E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A781E | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F700E
Deuteranopia (green-blind)
#7A6E26
Tritanopia (blue-blind)
#5E7267
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5a781e; /* rgb */ color: rgb(90, 120, 30); /* oklch */ color: oklch(53.1% 0.120 126.4);
Tailwind
colors: {
custom: {
50: '#8c9f60',
500: '#5a781e',
950: '#000000',
},
}SCSS
$custom: #5a781e; $custom-light: #8c9f60; $custom-dark: #000000;
JSON
{
"hex": "#5a781e",
"rgb": {
"r": 90,
"g": 120,
"b": 30
},
"hsl": {
"h": 80,
"s": 60,
"l": 29.412
},
"oklch": {
"l": 0.53104,
"c": 0.12038,
"h": 126.4
},
"luminance": 0.157
}Semantic roles & 50–950 ramp
primary
#5A781E
secondary
#6846AC
accent
#45E379
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79