#AFC041#AFC041
#AFC041 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.1% C 0.150 H 116.6°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).
Color values
| HEX | #AFC041 |
|---|---|
| RGB | rgb(175, 192, 65) |
| HSL | hsl(68, 50%, 50%) |
| HSV | hsv(68, 66%, 75%) |
| CMYK | cmyk(8.9%, 0%, 66.1%, 24.7%) |
| CIE-LAB | lab(74.31, -22.62, 59.47) |
| CIE-LCH | lch(74.31, 63.62, 110.83°) |
| OKLab | oklab(77.08% -0.0672 0.1343) |
| OKLCH | oklch(77.08% 0.15 116.6) |
| XYZ | xyz(37.4838, 47.1954, 12.1350) |
| Luminance | 0.4719 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.92
Sick Green
#9DB92C
ΔE00 3.39
Gross Green
#A0BF16
ΔE00 3.65
Snot
#ACBB0D
ΔE00 3.69
Booger
#9BB53C
ΔE00 4.15
Bright Olive
#9CBB04
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFC041 #5241C0
analogous
#C09141 #AFC041 #70C041
triadic
#AFC041 #41AFC0 #C041AF
tetradic
#AFC041 #41C091 #5241C0 #C04170
square
#AFC041 #41C091 #5241C0 #C04170
split-complementary
#AFC041 #4170C0 #9141C0
monochromatic
#5C6522 #869331 #AFC041 #C2CF6F #D6DE9D
Accessibility & contrast
On white
2.01
#AFC041 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.44
#AFC041 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFC041
10.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFC041 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFC041 | 1.00 | 2.01 | 10.44 | 10.44 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB62F
Deuteranopia (green-blind)
#CBB84A
Tritanopia (blue-blind)
#BAB5A6
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #afc041; /* rgb */ color: rgb(175, 192, 65); /* oklch */ color: oklch(77.1% 0.150 116.6);
Tailwind
colors: {
custom: {
50: '#cad27c',
500: '#afc041',
950: '#000000',
},
}SCSS
$custom: #afc041; $custom-light: #cad27c; $custom-dark: #000000;
JSON
{
"hex": "#afc041",
"rgb": {
"r": 175,
"g": 192,
"b": 65
},
"hsl": {
"h": 68.031,
"s": 50.198,
"l": 50.392
},
"oklch": {
"l": 0.7708,
"c": 0.15018,
"h": 116.6
},
"luminance": 0.47195
}Semantic roles & 50–950 ramp
primary
#AFC041
secondary
#9A92CB
accent
#4EDA61
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C