#AFC04A#AFC04A
#AFC04A is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.2% C 0.143 H 116.8°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC04A |
|---|---|
| RGB | rgb(175, 192, 74) |
| HSL | hsl(69, 48%, 52%) |
| HSV | hsv(69, 61%, 75%) |
| CMYK | cmyk(8.9%, 0%, 61.5%, 24.7%) |
| CIE-LAB | lab(74.39, -22.01, 55.82) |
| CIE-LCH | lch(74.39, 60.00, 111.52°) |
| OKLab | oklab(77.16% -0.0646 0.1279) |
| OKLCH | oklch(77.16% 0.143 116.8) |
| XYZ | xyz(37.7656, 47.3081, 13.6191) |
| Luminance | 0.4731 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.73
Sick Green
#9DB92C
ΔE00 3.73
Booger
#9BB53C
ΔE00 3.98
Light Olive Green
#A4BE5C
ΔE00 4.02
Gross Green
#A0BF16
ΔE00 4.38
Snot
#ACBB0D
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC04A #5B4AC0
analogous
#C0964A #AFC04A #74C04A
triadic
#AFC04A #4AAFC0 #C04AAF
tetradic
#AFC04A #4AC096 #5B4AC0 #C04A74
square
#AFC04A #4AC096 #5B4AC0 #C04A74
split-complementary
#AFC04A #4A74C0 #964AC0
monochromatic
#616B25 #8A9835 #AFC04A #C3D077 #D7E0A5
Accessibility & contrast
On white
2.01
#AFC04A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.46
#AFC04A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC04A
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC04A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC04A | 1.00 | 2.01 | 10.46 | 10.46 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB63C
Deuteranopia (green-blind)
#CBB852
Tritanopia (blue-blind)
#B9B6A7
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #afc04a; /* rgb */ color: rgb(175, 192, 74); /* oklch */ color: oklch(77.2% 0.143 116.8);
Tailwind
colors: {
custom: {
50: '#c9d382',
500: '#afc04a',
950: '#000000',
},
}SCSS
$custom: #afc04a; $custom-light: #c9d382; $custom-dark: #000000;
JSON
{
"hex": "#afc04a",
"rgb": {
"r": 175,
"g": 192,
"b": 74
},
"hsl": {
"h": 68.644,
"s": 48.361,
"l": 52.157
},
"oklch": {
"l": 0.77161,
"c": 0.14328,
"h": 116.8
},
"luminance": 0.47308
}Semantic roles & 50–950 ramp
primary
#AFC04A
secondary
#A199CD
accent
#50D863
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C