#AFCE42#AFCE42
#AFCE42 is a light, vivid yellow-green. Relative luminance 0.536; OKLCH L 80.3% C 0.166 H 121.1°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #AFCE42 |
|---|---|
| RGB | rgb(175, 206, 66) |
| HSL | hsl(73, 59%, 53%) |
| HSV | hsv(73, 68%, 81%) |
| CMYK | cmyk(15%, 0%, 68%, 19.2%) |
| CIE-LAB | lab(78.26, -29.31, 63.12) |
| CIE-LCH | lch(78.26, 69.59, 114.90°) |
| OKLab | oklab(80.25% -0.0857 0.1421) |
| OKLCH | oklch(80.25% 0.166 121.1) |
| XYZ | xyz(40.7345, 53.6500, 13.3627) |
| Luminance | 0.5365 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Yellowgreen
#9ACD32
ΔE00 3.53
Slime Green
#99CC04
ΔE00 4.09
Green Yellow
#B5CE08
ΔE00 4.12
Pea
#A4BF20
ΔE00 4.24
Gross Green
#A0BF16
ΔE00 4.45
Snot Green
#9DC100
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFCE42 #6142CE
analogous
#CEA742 #AFCE42 #69CE42
triadic
#AFCE42 #42AFCE #CE42AF
tetradic
#AFCE42 #42CEA7 #6142CE #CE4269
square
#AFCE42 #42CEA7 #6142CE #CE4269
split-complementary
#AFCE42 #4269CE #A742CE
monochromatic
#63771F #8CA72B #AFCE42 #C4DB73 #D8E7A3
Accessibility & contrast
On white
1.79
#AFCE42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.73
#AFCE42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFCE42
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFCE42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFCE42 | 1.00 | 1.79 | 11.73 | 11.73 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC22D
Deuteranopia (green-blind)
#D7C24D
Tritanopia (blue-blind)
#B8C4B2
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #afce42; /* rgb */ color: rgb(175, 206, 66); /* oklch */ color: oklch(80.3% 0.166 121.1);
Tailwind
colors: {
custom: {
50: '#cadd7e',
500: '#afce42',
950: '#000000',
},
}SCSS
$custom: #afce42; $custom-light: #cadd7e; $custom-dark: #000000;
JSON
{
"hex": "#afce42",
"rgb": {
"r": 175,
"g": 206,
"b": 66
},
"hsl": {
"h": 73.286,
"s": 58.824,
"l": 53.333
},
"oklch": {
"l": 0.80253,
"c": 0.16598,
"h": 121.1
},
"luminance": 0.5365
}Semantic roles & 50–950 ramp
primary
#AFCE42
secondary
#45357F
accent
#46E268
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D