#AFCD3C#AFCD3C
#AFCD3C is a light, vivid yellow-green. Relative luminance 0.531; OKLCH L 80.0% C 0.169 H 120.6°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).
Color values
| HEX | #AFCD3C |
|---|---|
| RGB | rgb(175, 205, 60) |
| HSL | hsl(72, 59%, 52%) |
| HSV | hsv(72, 71%, 80%) |
| CMYK | cmyk(14.6%, 0%, 70.7%, 19.6%) |
| CIE-LAB | lab(77.94, -29.18, 65.02) |
| CIE-LCH | lch(77.94, 71.27, 114.17°) |
| OKLab | oklab(79.98% -0.0859 0.1452) |
| OKLCH | oklch(79.98% 0.169 120.6) |
| XYZ | xyz(40.3268, 53.1029, 12.3995) |
| Luminance | 0.5310 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.54
Yellowgreen
#9ACD32
ΔE00 3.70
Pea
#A4BF20
ΔE00 3.79
Slime Green
#99CC04
ΔE00 3.91
Gross Green
#A0BF16
ΔE00 4.02
Snot Green
#9DC100
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFCD3C #5A3CCD
analogous
#CDA33C #AFCD3C #67CD3C
triadic
#AFCD3C #3CAFCD #CD3CAF
tetradic
#AFCD3C #3CCDA3 #5A3CCD #CD3C67
square
#AFCD3C #3CCDA3 #5A3CCD #CD3C67
split-complementary
#AFCD3C #3C67CD #A33CCD
monochromatic
#60711D #89A22A #AFCD3C #C3D96D #D7E69D
Accessibility & contrast
On white
1.81
#AFCD3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.62
#AFCD3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFCD3C
11.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFCD3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFCD3C | 1.00 | 1.81 | 11.62 | 11.62 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC123
Deuteranopia (green-blind)
#D6C148
Tritanopia (blue-blind)
#B9C2B1
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #afcd3c; /* rgb */ color: rgb(175, 205, 60); /* oklch */ color: oklch(80.0% 0.169 120.6);
Tailwind
colors: {
custom: {
50: '#cadc7b',
500: '#afcd3c',
950: '#000000',
},
}SCSS
$custom: #afcd3c; $custom-light: #cadc7b; $custom-dark: #000000;
JSON
{
"hex": "#afcd3c",
"rgb": {
"r": 175,
"g": 205,
"b": 60
},
"hsl": {
"h": 72.414,
"s": 59.184,
"l": 51.961
},
"oklch": {
"l": 0.79982,
"c": 0.1687,
"h": 120.6
},
"luminance": 0.53103
}Semantic roles & 50–950 ramp
primary
#AFCD3C
secondary
#42337A
accent
#45E266
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D