#AFBB22#AFBB22
#AFBB22 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 75.8% C 0.162 H 114.4°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBB22 |
|---|---|
| RGB | rgb(175, 187, 34) |
| HSL | hsl(65, 69%, 43%) |
| HSV | hsv(65, 82%, 73%) |
| CMYK | cmyk(6.4%, 0%, 81.8%, 26.7%) |
| CIE-LAB | lab(72.74, -21.61, 68.30) |
| CIE-LCH | lch(72.74, 71.63, 107.56°) |
| OKLab | oklab(75.76% -0.0671 0.1478) |
| OKLCH | oklch(75.76% 0.162 114.4) |
| XYZ | xyz(35.7394, 44.7708, 8.2720) |
| Luminance | 0.4477 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 1.01
Mustard Green
#A8B504
ΔE00 1.90
Bile
#B5C306
ΔE00 2.55
Baby Puke Green
#B6C406
ΔE00 2.79
Pea
#A4BF20
ΔE00 3.16
Gross Green
#A0BF16
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBB22 #2E22BB
analogous
#BB7A22 #AFBB22 #62BB22
triadic
#AFBB22 #22AFBB #BB22AF
tetradic
#AFBB22 #22BB7A #2E22BB #BB2262
square
#AFBB22 #22BB7A #2E22BB #BB2262
split-complementary
#AFBB22 #2262BB #7A22BB
monochromatic
#4E530F #7F8719 #AFBB22 #D0DC3E #DCE572
Accessibility & contrast
On white
2.11
#AFBB22 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.95
#AFBB22 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBB22
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBB22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBB22 | 1.00 | 2.11 | 9.95 | 9.95 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#C9B432
Tritanopia (blue-blind)
#BBAFA0
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #afbb22; /* rgb */ color: rgb(175, 187, 34); /* oklch */ color: oklch(75.8% 0.162 114.4);
Tailwind
colors: {
custom: {
50: '#cbcf6d',
500: '#afbb22',
950: '#000000',
},
}SCSS
$custom: #afbb22; $custom-light: #cbcf6d; $custom-dark: #000000;
JSON
{
"hex": "#afbb22",
"rgb": {
"r": 175,
"g": 187,
"b": 34
},
"hsl": {
"h": 64.706,
"s": 69.231,
"l": 43.333
},
"oklch": {
"l": 0.75762,
"c": 0.16227,
"h": 114.4
},
"luminance": 0.4477
}Semantic roles & 50–950 ramp
primary
#AFBB22
secondary
#746DCC
accent
#3CEC4A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B