#AFBF32#AFBF32
#AFBF32 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 76.7% C 0.159 H 116.0°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBF32 |
|---|---|
| RGB | rgb(175, 191, 50) |
| HSL | hsl(67, 59%, 47%) |
| HSV | hsv(67, 74%, 75%) |
| CMYK | cmyk(8.4%, 0%, 73.8%, 25.1%) |
| CIE-LAB | lab(73.94, -22.95, 64.62) |
| CIE-LCH | lch(73.94, 68.57, 109.55°) |
| OKLab | oklab(76.75% -0.0695 0.1427) |
| OKLCH | oklch(76.75% 0.159 116) |
| XYZ | xyz(36.8867, 46.6064, 10.0698) |
| Luminance | 0.4661 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.25
Pea
#A4BF20
ΔE00 2.32
Bile
#B5C306
ΔE00 2.98
Gross Green
#A0BF16
ΔE00 3.11
Baby Puke Green
#B6C406
ΔE00 3.14
Mustard Green
#A8B504
ΔE00 3.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBF32 #4232BF
analogous
#BF8932 #AFBF32 #68BF32
triadic
#AFBF32 #32AFBF #BF32AF
tetradic
#AFBF32 #32BF89 #4232BF #BF3268
square
#AFBF32 #32BF89 #4232BF #BF3268
split-complementary
#AFBF32 #3268BF #8932BF
monochromatic
#565E19 #838E25 #AFBF32 #C6D45A #D7E18B
Accessibility & contrast
On white
2.03
#AFBF32 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.32
#AFBF32 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBF32
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBF32 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBF32 | 1.00 | 2.03 | 10.32 | 10.32 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB514
Deuteranopia (green-blind)
#CBB73E
Tritanopia (blue-blind)
#BAB4A4
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afbf32; /* rgb */ color: rgb(175, 191, 50); /* oklch */ color: oklch(76.7% 0.159 116.0);
Tailwind
colors: {
custom: {
50: '#cad274',
500: '#afbf32',
950: '#000000',
},
}SCSS
$custom: #afbf32; $custom-light: #cad274; $custom-dark: #000000;
JSON
{
"hex": "#afbf32",
"rgb": {
"r": 175,
"g": 191,
"b": 50
},
"hsl": {
"h": 66.809,
"s": 58.506,
"l": 47.255
},
"oklch": {
"l": 0.76746,
"c": 0.15875,
"h": 116
},
"luminance": 0.46606
}Semantic roles & 50–950 ramp
primary
#AFBF32
secondary
#8A82CB
accent
#46E258
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B