#AFCC3C#AFCC3C
#AFCC3C is a light, vivid yellow-green. Relative luminance 0.526; OKLCH L 79.8% C 0.168 H 120.3°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AFCC3C |
|---|---|
| RGB | rgb(175, 204, 60) |
| HSL | hsl(72, 59%, 52%) |
| HSV | hsv(72, 71%, 80%) |
| CMYK | cmyk(14.2%, 0%, 70.6%, 20%) |
| CIE-LAB | lab(77.65, -28.71, 64.74) |
| CIE-LCH | lch(77.65, 70.82, 113.92°) |
| OKLab | oklab(79.75% -0.0846 0.1446) |
| OKLCH | oklch(79.75% 0.168 120.3) |
| XYZ | xyz(40.0884, 52.6261, 12.3200) |
| Luminance | 0.5263 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.53
Pea
#A4BF20
ΔE00 3.58
Yellowgreen
#9ACD32
ΔE00 3.83
Gross Green
#A0BF16
ΔE00 3.85
Snot Green
#9DC100
ΔE00 3.97
Slime Green
#99CC04
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFCC3C #593CCC
analogous
#CCA13C #AFCC3C #67CC3C
triadic
#AFCC3C #3CAFCC #CC3CAF
tetradic
#AFCC3C #3CCCA1 #593CCC #CC3C67
square
#AFCC3C #3CCCA1 #593CCC #CC3C67
split-complementary
#AFCC3C #3C67CC #A13CCC
monochromatic
#60701D #89A12A #AFCC3C #C3D96D #D7E59D
Accessibility & contrast
On white
1.82
#AFCC3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.53
#AFCC3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFCC3C
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFCC3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFCC3C | 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)
#D9C023
Deuteranopia (green-blind)
#D5C048
Tritanopia (blue-blind)
#B9C1B0
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #afcc3c; /* rgb */ color: rgb(175, 204, 60); /* oklch */ color: oklch(79.8% 0.168 120.3);
Tailwind
colors: {
custom: {
50: '#cadb7b',
500: '#afcc3c',
950: '#000000',
},
}SCSS
$custom: #afcc3c; $custom-light: #cadb7b; $custom-dark: #000000;
JSON
{
"hex": "#afcc3c",
"rgb": {
"r": 175,
"g": 204,
"b": 60
},
"hsl": {
"h": 72.083,
"s": 58.537,
"l": 51.765
},
"oklch": {
"l": 0.79754,
"c": 0.16753,
"h": 120.3
},
"luminance": 0.52626
}Semantic roles & 50–950 ramp
primary
#AFCC3C
secondary
#413379
accent
#46E265
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D