#AFBB41#AFBB41
#AFBB41 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.0% C 0.144 H 114.7°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBB41 |
|---|---|
| RGB | rgb(175, 187, 65) |
| HSL | hsl(66, 48%, 49%) |
| HSV | hsv(66, 65%, 73%) |
| CMYK | cmyk(6.4%, 0%, 65.2%, 26.7%) |
| CIE-LAB | lab(72.92, -20.15, 58.02) |
| CIE-LCH | lch(72.92, 61.42, 109.15°) |
| OKLab | oklab(75.96% -0.0603 0.1313) |
| OKLCH | oklch(75.96% 0.144 114.7) |
| XYZ | xyz(36.4046, 45.0369, 11.7752) |
| Luminance | 0.4504 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.59
Sick Green
#9DB92C
ΔE00 3.70
Pea
#A4BF20
ΔE00 3.74
Mustard Green
#A8B504
ΔE00 3.95
Booger
#9BB53C
ΔE00 4.02
Gross Green
#A0BF16
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBB41 #4D41BB
analogous
#BB8A41 #AFBB41 #72BB41
triadic
#AFBB41 #41AFBB #BB41AF
tetradic
#AFBB41 #41BB8A #4D41BB #BB4172
square
#AFBB41 #41BB8A #4D41BB #BB4172
split-complementary
#AFBB41 #4172BB #8A41BB
monochromatic
#5A6021 #858E31 #AFBB41 #C3CC6D #D6DC9A
Accessibility & contrast
On white
2.10
#AFBB41 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.01
#AFBB41 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBB41
10.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBB41 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBB41 | 1.00 | 2.10 | 10.01 | 10.01 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B230
Deuteranopia (green-blind)
#C7B449
Tritanopia (blue-blind)
#BAB0A2
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #afbb41; /* rgb */ color: rgb(175, 187, 65); /* oklch */ color: oklch(76.0% 0.144 114.7);
Tailwind
colors: {
custom: {
50: '#cacf7c',
500: '#afbb41',
950: '#000000',
},
}SCSS
$custom: #afbb41; $custom-light: #cacf7c; $custom-dark: #000000;
JSON
{
"hex": "#afbb41",
"rgb": {
"r": 175,
"g": 187,
"b": 65
},
"hsl": {
"h": 65.902,
"s": 48.413,
"l": 49.412
},
"oklch": {
"l": 0.75959,
"c": 0.14444,
"h": 114.7
},
"luminance": 0.45036
}Semantic roles & 50–950 ramp
primary
#AFBB41
secondary
#9590C8
accent
#50D85D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C