#5A931A#5A931A
#5A931A is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 60.1% C 0.158 H 132.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5A931A |
|---|---|
| RGB | rgb(90, 147, 26) |
| HSL | hsl(88, 70%, 34%) |
| HSV | hsv(88, 82%, 58%) |
| CMYK | cmyk(38.8%, 0%, 82.3%, 42.4%) |
| CIE-LAB | lab(55.19, -37.64, 52.80) |
| CIE-LCH | lch(55.19, 64.84, 125.48°) |
| OKLab | oklab(60.11% -0.1065 0.1162) |
| OKLCH | oklch(60.11% 0.158 132.5) |
| XYZ | xyz(14.8364, 23.1150, 4.6570) |
| Luminance | 0.2312 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 2.86
Mossy Green
#638B27
ΔE00 3.51
Olivedrab
#6B8E23
ΔE00 3.72
Grass Green
#3F9B0B
ΔE00 4.24
Grassy Green
#419C03
ΔE00 4.28
Moss Green (survey)
#658B38
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A931A #531A93
analogous
#93901A #5A931A #1E931A
triadic
#5A931A #1A5A93 #931A5A
tetradic
#5A931A #1A9390 #531A93 #931A1E
square
#5A931A #1A9390 #531A93 #931A1E
split-complementary
#5A931A #1A1E93 #901A93
monochromatic
#1A2B08 #3A5F11 #5A931A #7AC723 #98DF49
Accessibility & contrast
On white
3.73
#5A931A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#5A931A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A931A
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A931A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A931A | 1.00 | 3.73 | 5.62 | 5.62 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#5B8D7D
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5a931a; /* rgb */ color: rgb(90, 147, 26); /* oklch */ color: oklch(60.1% 0.158 132.5);
Tailwind
colors: {
custom: {
50: '#8eb362',
500: '#5a931a',
950: '#000000',
},
}SCSS
$custom: #5a931a; $custom-light: #8eb362; $custom-dark: #000000;
JSON
{
"hex": "#5a931a",
"rgb": {
"r": 90,
"g": 147,
"b": 26
},
"hsl": {
"h": 88.264,
"s": 69.942,
"l": 33.922
},
"oklch": {
"l": 0.60112,
"c": 0.15758,
"h": 132.5
},
"luminance": 0.23116
}Semantic roles & 50–950 ramp
primary
#5A931A
secondary
#8148C0
accent
#3BED8F
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A