#AFC952#AFC952
#AFC952 is a light, vivid yellow-green. Relative luminance 0.515; OKLCH L 79.3% C 0.148 H 120.3°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC952 |
|---|---|
| RGB | rgb(175, 201, 82) |
| HSL | hsl(73, 52%, 55%) |
| HSV | hsv(73, 59%, 79%) |
| CMYK | cmyk(12.9%, 0%, 59.2%, 21.2%) |
| CIE-LAB | lab(76.98, -25.80, 55.19) |
| CIE-LCH | lch(76.98, 60.92, 115.05°) |
| OKLab | oklab(79.27% -0.0744 0.1275) |
| OKLCH | oklch(79.27% 0.148 120.3) |
| XYZ | xyz(40.0893, 51.4966, 15.8089) |
| Luminance | 0.5150 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Olive Green
#A4BE5C
ΔE00 3.95
Pea
#A4BF20
ΔE00 4.67
Yellowgreen
#9ACD32
ΔE00 4.70
Light Olive
#ACBF69
ΔE00 4.94
Sick Green
#9DB92C
ΔE00 5.01
Gross Green
#A0BF16
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC952 #6C52C9
analogous
#C9A752 #AFC952 #73C952
triadic
#AFC952 #52AFC9 #C952AF
tetradic
#AFC952 #52C9A7 #6C52C9 #C95273
square
#AFC952 #52C9A7 #6C52C9 #C95273
split-complementary
#AFC952 #5273C9 #A752C9
monochromatic
#687A26 #90A935 #AFC952 #C5D881 #DAE6AF
Accessibility & contrast
On white
1.86
#AFC952 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.30
#AFC952 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC952
11.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC952 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC952 | 1.00 | 1.86 | 11.30 | 11.30 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BE45
Deuteranopia (green-blind)
#D1BE5A
Tritanopia (blue-blind)
#B8BFB0
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #afc952; /* rgb */ color: rgb(175, 201, 82); /* oklch */ color: oklch(79.3% 0.148 120.3);
Tailwind
colors: {
custom: {
50: '#c9d987',
500: '#afc952',
950: '#000000',
},
}SCSS
$custom: #afc952; $custom-light: #c9d987; $custom-dark: #000000;
JSON
{
"hex": "#afc952",
"rgb": {
"r": 175,
"g": 201,
"b": 82
},
"hsl": {
"h": 73.109,
"s": 52.423,
"l": 55.49
},
"oklch": {
"l": 0.79266,
"c": 0.14767,
"h": 120.3
},
"luminance": 0.51496
}Semantic roles & 50–950 ramp
primary
#AFC952
secondary
#4C3D83
accent
#4CDC6B
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#13140C
muted
#83837F