#AFBF41#AFBF41
#AFBF41 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 76.9% C 0.149 H 116.2°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBF41 |
|---|---|
| RGB | rgb(175, 191, 65) |
| HSL | hsl(68, 50%, 50%) |
| HSV | hsv(68, 66%, 75%) |
| CMYK | cmyk(8.4%, 0%, 66%, 25.1%) |
| CIE-LAB | lab(74.03, -22.13, 59.18) |
| CIE-LCH | lch(74.03, 63.18, 110.50°) |
| OKLab | oklab(76.85% -0.0659 0.1337) |
| OKLCH | oklch(76.85% 0.149 116.2) |
| XYZ | xyz(37.2650, 46.7577, 12.0620) |
| Luminance | 0.4676 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.04
Sick Green
#9DB92C
ΔE00 3.39
Snot
#ACBB0D
ΔE00 3.62
Gross Green
#A0BF16
ΔE00 3.77
Booger
#9BB53C
ΔE00 4.07
Bright Olive
#9CBB04
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBF41 #5141BF
analogous
#BF9041 #AFBF41 #70BF41
triadic
#AFBF41 #41AFBF #BF41AF
tetradic
#AFBF41 #41BF90 #5141BF #BF4170
square
#AFBF41 #41BF90 #5141BF #BF4170
split-complementary
#AFBF41 #4170BF #9041BF
monochromatic
#5C6422 #859231 #AFBF41 #C2CE6F #D6DE9D
Accessibility & contrast
On white
2.03
#AFBF41 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.35
#AFBF41 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBF41
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBF41 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBF41 | 1.00 | 2.03 | 10.35 | 10.35 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB52F
Deuteranopia (green-blind)
#CAB74A
Tritanopia (blue-blind)
#BAB4A5
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afbf41; /* rgb */ color: rgb(175, 191, 65); /* oklch */ color: oklch(76.9% 0.149 116.2);
Tailwind
colors: {
custom: {
50: '#cad27c',
500: '#afbf41',
950: '#000000',
},
}SCSS
$custom: #afbf41; $custom-light: #cad27c; $custom-dark: #000000;
JSON
{
"hex": "#afbf41",
"rgb": {
"r": 175,
"g": 191,
"b": 65
},
"hsl": {
"h": 67.619,
"s": 49.606,
"l": 50.196
},
"oklch": {
"l": 0.76855,
"c": 0.14903,
"h": 116.2
},
"luminance": 0.46757
}Semantic roles & 50–950 ramp
primary
#AFBF41
secondary
#9992CA
accent
#4FD960
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C