#74AF31#74AF31
#74AF31 is a light, vivid yellow-green. Relative luminance 0.346; OKLCH L 68.9% C 0.166 H 131.5°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #74AF31 |
|---|---|
| RGB | rgb(116, 175, 49) |
| HSL | hsl(88, 56%, 44%) |
| HSV | hsv(88, 72%, 69%) |
| CMYK | cmyk(33.7%, 0%, 72%, 31.4%) |
| CIE-LAB | lab(65.43, -39.03, 55.37) |
| CIE-LCH | lch(65.43, 67.74, 125.18°) |
| OKLab | oklab(68.88% -0.1103 0.1246) |
| OKLCH | oklch(68.88% 0.166 131.5) |
| XYZ | xyz(23.0866, 34.5938, 8.3660) |
| Luminance | 0.3459 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Leaf
#71AA34
ΔE00 1.62
Nasty Green
#70B23F
ΔE00 2.15
Grass
#5CAC2D
ΔE00 3.40
Kermit Green
#5CB200
ΔE00 3.66
Leaf Green
#5CA904
ΔE00 3.74
Turtle Green
#75B84F
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#74AF31 #6C31AF
analogous
#AFAB31 #74AF31 #35AF31
triadic
#74AF31 #3174AF #AF3174
tetradic
#74AF31 #31AFAB #6C31AF #AF3135
square
#74AF31 #31AFAB #6C31AF #AF3135
split-complementary
#74AF31 #3135AF #AB31AF
monochromatic
#354F16 #547F24 #74AF31 #93CE4F #B0DB7F
Accessibility & contrast
On white
2.65
#74AF31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.92
#74AF31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #74AF31
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##74AF31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##74AF31 | 1.00 | 2.65 | 7.92 | 7.92 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A21B
Deuteranopia (green-blind)
#AF9D3D
Tritanopia (blue-blind)
#76A896
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #74af31; /* rgb */ color: rgb(116, 175, 49); /* oklch */ color: oklch(68.9% 0.166 131.5);
Tailwind
colors: {
custom: {
50: '#a1c771',
500: '#74af31',
950: '#000000',
},
}SCSS
$custom: #74af31; $custom-light: #a1c771; $custom-dark: #000000;
JSON
{
"hex": "#74af31",
"rgb": {
"r": 116,
"g": 175,
"b": 49
},
"hsl": {
"h": 88.095,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.68883,
"c": 0.16637,
"h": 131.5
},
"luminance": 0.34595
}Semantic roles & 50–950 ramp
primary
#74AF31
secondary
#9B78C4
accent
#48E08F
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#0F1308
muted
#7F827B