#AFBB40#AFBB40
#AFBB40 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 75.9% C 0.145 H 114.7°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBB40 |
|---|---|
| RGB | rgb(175, 187, 64) |
| HSL | hsl(66, 49%, 49%) |
| HSV | hsv(66, 66%, 73%) |
| CMYK | cmyk(6.4%, 0%, 65.8%, 26.7%) |
| CIE-LAB | lab(72.91, -20.21, 58.41) |
| CIE-LCH | lch(72.91, 61.81, 109.08°) |
| OKLab | oklab(75.95% -0.0606 0.1319) |
| OKLCH | oklch(75.95% 0.145 114.7) |
| XYZ | xyz(36.3758, 45.0254, 11.6240) |
| Luminance | 0.4502 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.48
Sick Green
#9DB92C
ΔE00 3.68
Pea
#A4BF20
ΔE00 3.68
Mustard Green
#A8B504
ΔE00 3.85
Booger
#9BB53C
ΔE00 4.05
Gross Green
#A0BF16
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBB40 #4C40BB
analogous
#BB8A40 #AFBB40 #72BB40
triadic
#AFBB40 #40AFBB #BB40AF
tetradic
#AFBB40 #40BB8A #4C40BB #BB4072
square
#AFBB40 #40BB8A #4C40BB #BB4072
split-complementary
#AFBB40 #4072BB #8A40BB
monochromatic
#5A6021 #848D30 #AFBB40 #C3CD6C #D6DC99
Accessibility & contrast
On white
2.10
#AFBB40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.00
#AFBB40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBB40
10.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBB40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBB40 | 1.00 | 2.10 | 10.00 | 10.00 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B22F
Deuteranopia (green-blind)
#C7B449
Tritanopia (blue-blind)
#BAB0A2
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #afbb40; /* rgb */ color: rgb(175, 187, 64); /* oklch */ color: oklch(75.9% 0.145 114.7);
Tailwind
colors: {
custom: {
50: '#cacf7b',
500: '#afbb40',
950: '#000000',
},
}SCSS
$custom: #afbb40; $custom-light: #cacf7b; $custom-dark: #000000;
JSON
{
"hex": "#afbb40",
"rgb": {
"r": 175,
"g": 187,
"b": 64
},
"hsl": {
"h": 65.854,
"s": 49.004,
"l": 49.216
},
"oklch": {
"l": 0.7595,
"c": 0.14517,
"h": 114.7
},
"luminance": 0.45025
}Semantic roles & 50–950 ramp
primary
#AFBB40
secondary
#948FC8
accent
#4FD95D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C