#AFCD4A#AFCD4A
#AFCD4A is a light, vivid yellow-green. Relative luminance 0.533; OKLCH L 80.1% C 0.159 H 121.1°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).
Color values
| HEX | #AFCD4A |
|---|---|
| RGB | rgb(175, 205, 74) |
| HSL | hsl(74, 57%, 55%) |
| HSV | hsv(74, 64%, 80%) |
| CMYK | cmyk(14.6%, 0%, 63.9%, 19.6%) |
| CIE-LAB | lab(78.03, -28.31, 59.73) |
| CIE-LCH | lch(78.03, 66.10, 115.36°) |
| OKLab | oklab(80.09% -0.0822 0.1362) |
| OKLCH | oklch(80.09% 0.159 121.1) |
| XYZ | xyz(40.7471, 53.2711, 14.6130) |
| Luminance | 0.5327 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Yellowgreen
#9ACD32
ΔE00 3.74
Pea
#A4BF20
ΔE00 4.51
Slime Green
#99CC04
ΔE00 4.68
Gross Green
#A0BF16
ΔE00 4.78
Green Yellow
#B5CE08
ΔE00 4.92
Snot Green
#9DC100
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFCD4A #684ACD
analogous
#CDA94A #AFCD4A #6ECD4A
triadic
#AFCD4A #4AAFCD #CD4AAF
tetradic
#AFCD4A #4ACDA9 #684ACD #CD4A6E
square
#AFCD4A #4ACDA9 #684ACD #CD4A6E
split-complementary
#AFCD4A #4A6ECD #A94ACD
monochromatic
#667B22 #8EAB2F #AFCD4A #C4DA7A #D9E7AA
Accessibility & contrast
On white
1.80
#AFCD4A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.65
#AFCD4A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFCD4A
11.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFCD4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFCD4A | 1.00 | 1.80 | 11.65 | 11.65 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C139
Deuteranopia (green-blind)
#D5C153
Tritanopia (blue-blind)
#B8C3B2
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #afcd4a; /* rgb */ color: rgb(175, 205, 74); /* oklch */ color: oklch(80.1% 0.159 121.1);
Tailwind
colors: {
custom: {
50: '#cadc83',
500: '#afcd4a',
950: '#000000',
},
}SCSS
$custom: #afcd4a; $custom-light: #cadc83; $custom-dark: #000000;
JSON
{
"hex": "#afcd4a",
"rgb": {
"r": 175,
"g": 205,
"b": 74
},
"hsl": {
"h": 73.74,
"s": 56.71,
"l": 54.706
},
"oklch": {
"l": 0.80093,
"c": 0.15903,
"h": 121.1
},
"luminance": 0.53271
}Semantic roles & 50–950 ramp
primary
#AFCD4A
secondary
#493883
accent
#48E06B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E