#AFCC3D#AFCC3D
#AFCC3D is a light, vivid yellow-green. Relative luminance 0.526; OKLCH L 79.8% C 0.167 H 120.4°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AFCC3D |
|---|---|
| RGB | rgb(175, 204, 61) |
| HSL | hsl(72, 58%, 52%) |
| HSV | hsv(72, 70%, 80%) |
| CMYK | cmyk(14.2%, 0%, 70.1%, 20%) |
| CIE-LAB | lab(77.66, -28.65, 64.38) |
| CIE-LCH | lch(77.66, 70.47, 113.99°) |
| OKLab | oklab(79.76% -0.0843 0.144) |
| OKLCH | oklch(79.76% 0.167 120.4) |
| XYZ | xyz(40.1150, 52.6367, 12.4606) |
| Luminance | 0.5264 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pea
#A4BF20
ΔE00 3.62
Green Yellow
#B5CE08
ΔE00 3.62
Yellowgreen
#9ACD32
ΔE00 3.81
Gross Green
#A0BF16
ΔE00 3.89
Snot Green
#9DC100
ΔE00 4.02
Slime Green
#99CC04
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFCC3D #5A3DCC
analogous
#CCA23D #AFCC3D #68CC3D
triadic
#AFCC3D #3DAFCC #CC3DAF
tetradic
#AFCC3D #3DCCA2 #5A3DCC #CC3D68
square
#AFCC3D #3DCCA2 #5A3DCC #CC3D68
split-complementary
#AFCC3D #3D68CC #A23DCC
monochromatic
#60711E #89A12A #AFCC3D #C3D96D #D7E59E
Accessibility & contrast
On white
1.82
#AFCC3D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.53
#AFCC3D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFCC3D
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFCC3D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFCC3D | 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)
#D9C025
Deuteranopia (green-blind)
#D5C049
Tritanopia (blue-blind)
#B9C1B0
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #afcc3d; /* rgb */ color: rgb(175, 204, 61); /* oklch */ color: oklch(79.8% 0.167 120.4);
Tailwind
colors: {
custom: {
50: '#cadb7b',
500: '#afcc3d',
950: '#000000',
},
}SCSS
$custom: #afcc3d; $custom-light: #cadb7b; $custom-dark: #000000;
JSON
{
"hex": "#afcc3d",
"rgb": {
"r": 175,
"g": 204,
"b": 61
},
"hsl": {
"h": 72.168,
"s": 58.367,
"l": 51.961
},
"oklch": {
"l": 0.79762,
"c": 0.1669,
"h": 120.4
},
"luminance": 0.52637
}Semantic roles & 50–950 ramp
primary
#AFCC3D
secondary
#42337A
accent
#46E266
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D