#AFC452#AFC452
#AFC452 is a light, vivid yellow-green. Relative luminance 0.492; OKLCH L 78.1% C 0.141 H 118.6°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC452 |
|---|---|
| RGB | rgb(175, 196, 82) |
| HSL | hsl(71, 49%, 55%) |
| HSV | hsv(71, 58%, 77%) |
| CMYK | cmyk(10.7%, 0%, 58.2%, 23.1%) |
| CIE-LAB | lab(75.58, -23.37, 53.63) |
| CIE-LCH | lch(75.58, 58.50, 113.54°) |
| OKLab | oklab(78.14% -0.0676 0.1242) |
| OKLCH | oklch(78.14% 0.141 118.6) |
| XYZ | xyz(38.9427, 49.2033, 15.4267) |
| Luminance | 0.4920 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Olive Green
#A4BE5C
ΔE00 3.29
Light Olive
#ACBF69
ΔE00 4.15
Sick Green
#9DB92C
ΔE00 4.43
Pea
#A4BF20
ΔE00 4.44
Booger
#9BB53C
ΔE00 4.54
Gross Green
#A0BF16
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC452 #6752C4
analogous
#C4A052 #AFC452 #76C452
triadic
#AFC452 #52AFC4 #C452AF
tetradic
#AFC452 #52C4A0 #6752C4 #C45276
square
#AFC452 #52C4A0 #6752C4 #C45276
split-complementary
#AFC452 #5276C4 #A052C4
monochromatic
#667428 #8EA237 #AFC452 #C4D480 #D9E3AD
Accessibility & contrast
On white
1.94
#AFC452 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.84
#AFC452 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC452
10.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC452 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC452 | 1.00 | 1.94 | 10.84 | 10.84 |
| #FFFFFF | 1.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BA46
Deuteranopia (green-blind)
#CDBB59
Tritanopia (blue-blind)
#B8BAAB
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #afc452; /* rgb */ color: rgb(175, 196, 82); /* oklch */ color: oklch(78.1% 0.141 118.6);
Tailwind
colors: {
custom: {
50: '#c9d587',
500: '#afc452',
950: '#000000',
},
}SCSS
$custom: #afc452; $custom-light: #c9d587; $custom-dark: #000000;
JSON
{
"hex": "#afc452",
"rgb": {
"r": 175,
"g": 196,
"b": 82
},
"hsl": {
"h": 71.053,
"s": 49.138,
"l": 54.51
},
"oklch": {
"l": 0.7814,
"c": 0.14143,
"h": 118.6
},
"luminance": 0.49203
}Semantic roles & 50–950 ramp
primary
#AFC452
secondary
#AAA1D1
accent
#4FD968
background
#FCFDF8
surface
#F9FAF0
border
#D2D3CB
text
#13140B
muted
#82837C