#77AF31#77AF31
#77AF31 is a light, vivid yellow-green. Relative luminance 0.348; OKLCH L 69.1% C 0.165 H 130.7°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #77AF31 |
|---|---|
| RGB | rgb(119, 175, 49) |
| HSL | hsl(87, 56%, 44%) |
| HSV | hsv(87, 72%, 69%) |
| CMYK | cmyk(32%, 0%, 72%, 31.4%) |
| CIE-LAB | lab(65.59, -37.92, 55.59) |
| CIE-LCH | lch(65.59, 67.29, 124.30°) |
| OKLab | oklab(69.06% -0.1074 0.125) |
| OKLCH | oklch(69.06% 0.165 130.7) |
| XYZ | xyz(23.4919, 34.8029, 8.3850) |
| Luminance | 0.3480 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Leaf
#71AA34
ΔE00 1.82
Nasty Green
#70B23F
ΔE00 2.51
Grass
#5CAC2D
ΔE00 3.89
Kermit Green
#5CB200
ΔE00 3.97
Leaf Green
#5CA904
ΔE00 4.04
Turtle Green
#75B84F
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#77AF31 #6931AF
analogous
#AFA831 #77AF31 #38AF31
triadic
#77AF31 #3177AF #AF3177
tetradic
#77AF31 #31AFA8 #6931AF #AF3138
square
#77AF31 #31AFA8 #6931AF #AF3138
split-complementary
#77AF31 #3138AF #A831AF
monochromatic
#364F16 #567F24 #77AF31 #96CE4F #B2DB7F
Accessibility & contrast
On white
2.64
#77AF31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.96
#77AF31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #77AF31
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##77AF31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##77AF31 | 1.00 | 2.64 | 7.96 | 7.96 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A21B
Deuteranopia (green-blind)
#AF9E3D
Tritanopia (blue-blind)
#7AA896
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #77af31; /* rgb */ color: rgb(119, 175, 49); /* oklch */ color: oklch(69.1% 0.165 130.7);
Tailwind
colors: {
custom: {
50: '#a3c771',
500: '#77af31',
950: '#000000',
},
}SCSS
$custom: #77af31; $custom-light: #a3c771; $custom-dark: #000000;
JSON
{
"hex": "#77af31",
"rgb": {
"r": 119,
"g": 175,
"b": 49
},
"hsl": {
"h": 86.667,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.6906,
"c": 0.16481,
"h": 130.7
},
"luminance": 0.34804
}Semantic roles & 50–950 ramp
primary
#77AF31
secondary
#9A78C4
accent
#48E08B
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#0F1308
muted
#7F827B