#AFBD32#AFBD32
#AFBD32 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.3% C 0.157 H 115.3°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBD32 |
|---|---|
| RGB | rgb(175, 189, 50) |
| HSL | hsl(66, 58%, 47%) |
| HSV | hsv(66, 74%, 74%) |
| CMYK | cmyk(7.4%, 0%, 73.5%, 25.9%) |
| CIE-LAB | lab(73.38, -21.97, 64.09) |
| CIE-LCH | lch(73.38, 67.75, 108.92°) |
| OKLab | oklab(76.3% -0.0668 0.1416) |
| OKLCH | oklch(76.3% 0.157 115.3) |
| XYZ | xyz(36.4535, 45.7401, 9.9254) |
| Luminance | 0.4574 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.09
Pea
#A4BF20
ΔE00 2.68
Mustard Green
#A8B504
ΔE00 2.96
Bile
#B5C306
ΔE00 3.15
Baby Puke Green
#B6C406
ΔE00 3.33
Gross Green
#A0BF16
ΔE00 3.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBD32 #4032BD
analogous
#BD8632 #AFBD32 #6ABD32
triadic
#AFBD32 #32AFBD #BD32AF
tetradic
#AFBD32 #32BD86 #4032BD #BD326A
square
#AFBD32 #32BD86 #4032BD #BD326A
split-complementary
#AFBD32 #326ABD #8632BD
monochromatic
#555C18 #828D25 #AFBD32 #C7D359 #D7E089
Accessibility & contrast
On white
2.07
#AFBD32 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.15
#AFBD32 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBD32
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBD32 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBD32 | 1.00 | 2.07 | 10.15 | 10.15 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB315
Deuteranopia (green-blind)
#CAB53E
Tritanopia (blue-blind)
#BAB2A2
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #afbd32; /* rgb */ color: rgb(175, 189, 50); /* oklch */ color: oklch(76.3% 0.157 115.3);
Tailwind
colors: {
custom: {
50: '#cad074',
500: '#afbd32',
950: '#000000',
},
}SCSS
$custom: #afbd32; $custom-light: #cad074; $custom-dark: #000000;
JSON
{
"hex": "#afbd32",
"rgb": {
"r": 175,
"g": 189,
"b": 50
},
"hsl": {
"h": 66.043,
"s": 58.159,
"l": 46.863
},
"oklch": {
"l": 0.76296,
"c": 0.15656,
"h": 115.3
},
"luminance": 0.45739
}Semantic roles & 50–950 ramp
primary
#AFBD32
secondary
#8881CA
accent
#46E156
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B