#AFBB37#AFBB37
#AFBB37 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 75.9% C 0.151 H 114.6°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBB37 |
|---|---|
| RGB | rgb(175, 187, 55) |
| HSL | hsl(65, 55%, 47%) |
| HSV | hsv(65, 71%, 73%) |
| CMYK | cmyk(6.4%, 0%, 70.6%, 26.7%) |
| CIE-LAB | lab(72.85, -20.73, 61.81) |
| CIE-LCH | lch(72.85, 65.19, 108.54°) |
| OKLab | oklab(75.88% -0.0629 0.1377) |
| OKLCH | oklch(75.88% 0.151 114.6) |
| XYZ | xyz(36.1401, 44.9311, 10.3824) |
| Luminance | 0.4493 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.56
Mustard Green
#A8B504
ΔE00 3.04
Pea
#A4BF20
ΔE00 3.25
Sick Green
#9DB92C
ΔE00 3.63
Bile
#B5C306
ΔE00 3.80
Baby Puke Green
#B6C406
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBB37 #4337BB
analogous
#BB8537 #AFBB37 #6DBB37
triadic
#AFBB37 #37AFBB #BB37AF
tetradic
#AFBB37 #37BB85 #4337BB #BB376D
square
#AFBB37 #37BB85 #4337BB #BB376D
split-complementary
#AFBB37 #376DBB #8537BB
monochromatic
#565C1B #838C29 #AFBB37 #C6D05F #D7DE8E
Accessibility & contrast
On white
2.10
#AFBB37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.99
#AFBB37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBB37
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBB37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBB37 | 1.00 | 2.10 | 9.99 | 9.99 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B220
Deuteranopia (green-blind)
#C8B441
Tritanopia (blue-blind)
#BAB0A1
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #afbb37; /* rgb */ color: rgb(175, 187, 55); /* oklch */ color: oklch(75.9% 0.151 114.6);
Tailwind
colors: {
custom: {
50: '#cacf76',
500: '#afbb37',
950: '#000000',
},
}SCSS
$custom: #afbb37; $custom-light: #cacf76; $custom-dark: #000000;
JSON
{
"hex": "#afbb37",
"rgb": {
"r": 175,
"g": 187,
"b": 55
},
"hsl": {
"h": 65.455,
"s": 54.545,
"l": 47.451
},
"oklch": {
"l": 0.7588,
"c": 0.15134,
"h": 114.6
},
"luminance": 0.4493
}Semantic roles & 50–950 ramp
primary
#AFBB37
secondary
#8B85C9
accent
#4ADE57
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B