#AFBB36#AFBB36
#AFBB36 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 75.9% C 0.152 H 114.6°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBB36 |
|---|---|
| RGB | rgb(175, 187, 54) |
| HSL | hsl(65, 55%, 47%) |
| HSV | hsv(65, 71%, 73%) |
| CMYK | cmyk(6.4%, 0%, 71.1%, 26.7%) |
| CIE-LAB | lab(72.84, -20.78, 62.17) |
| CIE-LCH | lch(72.84, 65.55, 108.48°) |
| OKLab | oklab(75.87% -0.0631 0.1382) |
| OKLCH | oklch(75.87% 0.152 114.6) |
| XYZ | xyz(36.1164, 44.9216, 10.2575) |
| Luminance | 0.4492 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.47
Mustard Green
#A8B504
ΔE00 2.96
Pea
#A4BF20
ΔE00 3.22
Sick Green
#9DB92C
ΔE00 3.64
Bile
#B5C306
ΔE00 3.72
Baby Puke Green
#B6C406
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBB36 #4236BB
analogous
#BB8536 #AFBB36 #6CBB36
triadic
#AFBB36 #36AFBB #BB36AF
tetradic
#AFBB36 #36BB85 #4236BB #BB366C
square
#AFBB36 #36BB85 #4236BB #BB366C
split-complementary
#AFBB36 #366CBB #8536BB
monochromatic
#565C1B #838C28 #AFBB36 #C6D05E #D7DE8D
Accessibility & contrast
On white
2.10
#AFBB36 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.98
#AFBB36 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBB36
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBB36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBB36 | 1.00 | 2.10 | 9.98 | 9.98 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B21E
Deuteranopia (green-blind)
#C8B440
Tritanopia (blue-blind)
#BAB0A1
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #afbb36; /* rgb */ color: rgb(175, 187, 54); /* oklch */ color: oklch(75.9% 0.152 114.6);
Tailwind
colors: {
custom: {
50: '#cacf76',
500: '#afbb36',
950: '#000000',
},
}SCSS
$custom: #afbb36; $custom-light: #cacf76; $custom-dark: #000000;
JSON
{
"hex": "#afbb36",
"rgb": {
"r": 175,
"g": 187,
"b": 54
},
"hsl": {
"h": 65.414,
"s": 55.187,
"l": 47.255
},
"oklch": {
"l": 0.75873,
"c": 0.15197,
"h": 114.6
},
"luminance": 0.44921
}Semantic roles & 50–950 ramp
primary
#AFBB36
secondary
#8A84C9
accent
#49DF57
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B