#AFCA4B#AFCA4B
#AFCA4B is a light, vivid yellow-green. Relative luminance 0.519; OKLCH L 79.4% C 0.155 H 120.3°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AFCA4B |
|---|---|
| RGB | rgb(175, 202, 75) |
| HSL | hsl(73, 55%, 54%) |
| HSV | hsv(73, 63%, 79%) |
| CMYK | cmyk(13.4%, 0%, 62.9%, 20.8%) |
| CIE-LAB | lab(77.20, -26.81, 58.43) |
| CIE-LCH | lch(77.20, 64.28, 114.65°) |
| OKLab | oklab(79.42% -0.0779 0.1335) |
| OKLCH | oklch(79.42% 0.155 120.3) |
| XYZ | xyz(40.0703, 51.8631, 14.5549) |
| Luminance | 0.5186 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pea
#A4BF20
ΔE00 4.12
Yellowgreen
#9ACD32
ΔE00 4.22
Gross Green
#A0BF16
ΔE00 4.49
Light Olive Green
#A4BE5C
ΔE00 4.73
Sick Green
#9DB92C
ΔE00 4.83
Snot Green
#9DC100
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFCA4B #664BCA
analogous
#CAA64B #AFCA4B #70CA4B
triadic
#AFCA4B #4BAFCA #CA4BAF
tetradic
#AFCA4B #4BCAA6 #664BCA #CA4B70
square
#AFCA4B #4BCAA6 #664BCA #CA4B70
split-complementary
#AFCA4B #4B70CA #A64BCA
monochromatic
#667723 #8EA731 #AFCA4B #C4D87A #D9E6AA
Accessibility & contrast
On white
1.85
#AFCA4B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.37
#AFCA4B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFCA4B
11.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFCA4B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFCA4B | 1.00 | 1.85 | 11.37 | 11.37 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6BF3B
Deuteranopia (green-blind)
#D3BF54
Tritanopia (blue-blind)
#B8C0B0
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #afca4b; /* rgb */ color: rgb(175, 202, 75); /* oklch */ color: oklch(79.4% 0.155 120.3);
Tailwind
colors: {
custom: {
50: '#cada83',
500: '#afca4b',
950: '#000000',
},
}SCSS
$custom: #afca4b; $custom-light: #cada83; $custom-dark: #000000;
JSON
{
"hex": "#afca4b",
"rgb": {
"r": 175,
"g": 202,
"b": 75
},
"hsl": {
"h": 72.756,
"s": 54.506,
"l": 54.314
},
"oklch": {
"l": 0.79423,
"c": 0.1546,
"h": 120.3
},
"luminance": 0.51863
}Semantic roles & 50–950 ramp
primary
#AFCA4B
secondary
#483980
accent
#4ADE69
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E