#AFBF33#AFBF33
#AFBF33 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 76.8% C 0.158 H 116.0°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBF33 |
|---|---|
| RGB | rgb(175, 191, 51) |
| HSL | hsl(67, 58%, 47%) |
| HSV | hsv(67, 73%, 75%) |
| CMYK | cmyk(8.4%, 0%, 73.3%, 25.1%) |
| CIE-LAB | lab(73.94, -22.90, 64.29) |
| CIE-LCH | lch(73.94, 68.24, 109.61°) |
| OKLab | oklab(76.75% -0.0693 0.1422) |
| OKLCH | oklch(76.75% 0.158 116) |
| XYZ | xyz(36.9085, 46.6151, 10.1846) |
| Luminance | 0.4662 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 2.33
Pea
#A4BF20
ΔE00 2.34
Bile
#B5C306
ΔE00 3.06
Gross Green
#A0BF16
ΔE00 3.13
Baby Puke Green
#B6C406
ΔE00 3.22
Mustard Green
#A8B504
ΔE00 3.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBF33 #4333BF
analogous
#BF8933 #AFBF33 #69BF33
triadic
#AFBF33 #33AFBF #BF33AF
tetradic
#AFBF33 #33BF89 #4333BF #BF3369
square
#AFBF33 #33BF89 #4333BF #BF3369
split-complementary
#AFBF33 #3369BF #8933BF
monochromatic
#565E19 #838F26 #AFBF33 #C6D35C #D7E08C
Accessibility & contrast
On white
2.03
#AFBF33 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.32
#AFBF33 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBF33
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBF33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBF33 | 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)
#CCB516
Deuteranopia (green-blind)
#CBB73F
Tritanopia (blue-blind)
#BAB4A4
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afbf33; /* rgb */ color: rgb(175, 191, 51); /* oklch */ color: oklch(76.8% 0.158 116.0);
Tailwind
colors: {
custom: {
50: '#cad275',
500: '#afbf33',
950: '#000000',
},
}SCSS
$custom: #afbf33; $custom-light: #cad275; $custom-dark: #000000;
JSON
{
"hex": "#afbf33",
"rgb": {
"r": 175,
"g": 191,
"b": 51
},
"hsl": {
"h": 66.857,
"s": 57.851,
"l": 47.451
},
"oklch": {
"l": 0.76753,
"c": 0.15817,
"h": 116
},
"luminance": 0.46615
}Semantic roles & 50–950 ramp
primary
#AFBF33
secondary
#8B83CB
accent
#47E158
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B