#5A760F#5A760F
#5A760F is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.5% C 0.126 H 124.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #5A760F |
|---|---|
| RGB | rgb(90, 118, 15) |
| HSL | hsl(76, 77%, 26%) |
| HSV | hsv(76, 87%, 46%) |
| CMYK | cmyk(23.7%, 0%, 87.3%, 53.7%) |
| CIE-LAB | lab(45.86, -24.60, 47.54) |
| CIE-LCH | lch(45.86, 53.53, 117.36°) |
| OKLab | oklab(52.5% -0.072 0.1032) |
| OKLCH | oklch(52.5% 0.126 124.9) |
| XYZ | xyz(10.7812, 15.1649, 2.8110) |
| Luminance | 0.1517 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Olive Green
#677A04
ΔE00 3.57
Dirty Green
#667E2C
ΔE00 4.22
Murky Green
#6C7A0E
ΔE00 4.51
Avocado
#568203
ΔE00 4.74
Muddy Green
#657432
ΔE00 5.22
Olive (survey)
#6E750E
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A760F #2B0F76
analogous
#765E0F #5A760F #26760F
triadic
#5A760F #0F5A76 #760F5A
tetradic
#5A760F #0F765E #2B0F76 #760F26
square
#5A760F #0F765E #2B0F76 #760F26
split-complementary
#5A760F #0F2676 #5E0F76
monochromatic
#151B03 #314008 #5A760F #83AC16 #ADE21D
Accessibility & contrast
On white
5.21
#5A760F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#5A760F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A760F
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A760F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A760F | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#796C1B
Tritanopia (blue-blind)
#5F7064
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5a760f; /* rgb */ color: rgb(90, 118, 15); /* oklch */ color: oklch(52.5% 0.126 124.9);
Tailwind
colors: {
custom: {
50: '#8c9d5a',
500: '#5a760f',
950: '#000000',
},
}SCSS
$custom: #5a760f; $custom-light: #8c9d5a; $custom-dark: #000000;
JSON
{
"hex": "#5a760f",
"rgb": {
"r": 90,
"g": 118,
"b": 15
},
"hsl": {
"h": 76.311,
"s": 77.444,
"l": 26.078
},
"oklch": {
"l": 0.52495,
"c": 0.12586,
"h": 124.9
},
"luminance": 0.15165
}Semantic roles & 50–950 ramp
primary
#5A760F
secondary
#5533AD
accent
#34F468
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79