#AFC04F#AFC04F
#AFC04F is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.2% C 0.139 H 117.0°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC04F |
|---|---|
| RGB | rgb(175, 192, 79) |
| HSL | hsl(69, 47%, 53%) |
| HSV | hsv(69, 59%, 75%) |
| CMYK | cmyk(8.9%, 0%, 58.9%, 24.7%) |
| CIE-LAB | lab(74.43, -21.64, 53.68) |
| CIE-LCH | lch(74.43, 57.88, 111.95°) |
| OKLab | oklab(77.21% -0.0631 0.124) |
| OKLCH | oklch(77.21% 0.139 117) |
| XYZ | xyz(37.9408, 47.3782, 14.5418) |
| Luminance | 0.4738 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive Green
#A4BE5C
ΔE00 3.50
Booger
#9BB53C
ΔE00 4.02
Sick Green
#9DB92C
ΔE00 4.07
Light Olive
#ACBF69
ΔE00 4.20
Pea
#A4BF20
ΔE00 4.27
Gross Green
#A0BF16
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC04F #604FC0
analogous
#C0994F #AFC04F #76C04F
triadic
#AFC04F #4FAFC0 #C04FAF
tetradic
#AFC04F #4FC099 #604FC0 #C04F76
square
#AFC04F #4FC099 #604FC0 #C04F76
split-complementary
#AFC04F #4F76C0 #994FC0
monochromatic
#636D27 #8C9A37 #AFC04F #C3D07C #D8E0A9
Accessibility & contrast
On white
2.00
#AFC04F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.48
#AFC04F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC04F
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC04F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC04F | 1.00 | 2.00 | 10.48 | 10.48 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB742
Deuteranopia (green-blind)
#CAB856
Tritanopia (blue-blind)
#B9B6A8
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #afc04f; /* rgb */ color: rgb(175, 192, 79); /* oklch */ color: oklch(77.2% 0.139 117.0);
Tailwind
colors: {
custom: {
50: '#c9d385',
500: '#afc04f',
950: '#000000',
},
}SCSS
$custom: #afc04f; $custom-light: #c9d385; $custom-dark: #000000;
JSON
{
"hex": "#afc04f",
"rgb": {
"r": 175,
"g": 192,
"b": 79
},
"hsl": {
"h": 69.027,
"s": 47.28,
"l": 53.137
},
"oklch": {
"l": 0.77211,
"c": 0.1391,
"h": 117
},
"luminance": 0.47378
}Semantic roles & 50–950 ramp
primary
#AFC04F
secondary
#A49DCE
accent
#51D765
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13140B
muted
#82827C