#AFCC3E#AFCC3E
#AFCC3E is a light, vivid yellow-green. Relative luminance 0.526; OKLCH L 79.8% C 0.166 H 120.4°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AFCC3E |
|---|---|
| RGB | rgb(175, 204, 62) |
| HSL | hsl(72, 58%, 52%) |
| HSV | hsv(72, 70%, 80%) |
| CMYK | cmyk(14.2%, 0%, 69.6%, 20%) |
| CIE-LAB | lab(77.67, -28.60, 64.02) |
| CIE-LCH | lch(77.67, 70.12, 114.07°) |
| OKLab | oklab(79.77% -0.0841 0.1434) |
| OKLCH | oklch(79.77% 0.166 120.4) |
| XYZ | xyz(40.1422, 52.6476, 12.6038) |
| Luminance | 0.5265 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pea
#A4BF20
ΔE00 3.65
Green Yellow
#B5CE08
ΔE00 3.71
Yellowgreen
#9ACD32
ΔE00 3.80
Gross Green
#A0BF16
ΔE00 3.93
Snot Green
#9DC100
ΔE00 4.07
Slime Green
#99CC04
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFCC3E #5B3ECC
analogous
#CCA23E #AFCC3E #68CC3E
triadic
#AFCC3E #3EAFCC #CC3EAF
tetradic
#AFCC3E #3ECCA2 #5B3ECC #CC3E68
square
#AFCC3E #3ECCA2 #5B3ECC #CC3E68
split-complementary
#AFCC3E #3E68CC #A23ECC
monochromatic
#61721E #8AA22B #AFCC3E #C3D96E #D7E69F
Accessibility & contrast
On white
1.82
#AFCC3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.53
#AFCC3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFCC3E
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFCC3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFCC3E | 1.00 | 1.82 | 11.53 | 11.53 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C027
Deuteranopia (green-blind)
#D5C049
Tritanopia (blue-blind)
#B9C1B0
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #afcc3e; /* rgb */ color: rgb(175, 204, 62); /* oklch */ color: oklch(79.8% 0.166 120.4);
Tailwind
colors: {
custom: {
50: '#cadb7c',
500: '#afcc3e',
950: '#000000',
},
}SCSS
$custom: #afcc3e; $custom-light: #cadb7c; $custom-dark: #000000;
JSON
{
"hex": "#afcc3e",
"rgb": {
"r": 175,
"g": 204,
"b": 62
},
"hsl": {
"h": 72.254,
"s": 58.197,
"l": 52.157
},
"oklch": {
"l": 0.79769,
"c": 0.16626,
"h": 120.4
},
"luminance": 0.52647
}Semantic roles & 50–950 ramp
primary
#AFCC3E
secondary
#42347B
accent
#46E166
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D