#AFBF47#AFBF47
#AFBF47 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 76.9% C 0.144 H 116.4°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBF47 |
|---|---|
| RGB | rgb(175, 191, 71) |
| HSL | hsl(68, 48%, 51%) |
| HSV | hsv(68, 63%, 75%) |
| CMYK | cmyk(8.4%, 0%, 62.8%, 25.1%) |
| CIE-LAB | lab(74.08, -21.73, 56.76) |
| CIE-LCH | lch(74.08, 60.78, 110.95°) |
| OKLab | oklab(76.91% -0.0641 0.1295) |
| OKLCH | oklch(76.91% 0.144 116.4) |
| XYZ | xyz(37.4481, 46.8310, 13.0265) |
| Luminance | 0.4683 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.54
Sick Green
#9DB92C
ΔE00 3.59
Booger
#9BB53C
ΔE00 3.94
Gross Green
#A0BF16
ΔE00 4.23
Snot
#ACBB0D
ΔE00 4.28
Light Olive Green
#A4BE5C
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBF47 #5747BF
analogous
#BF9347 #AFBF47 #73BF47
triadic
#AFBF47 #47AFBF #BF47AF
tetradic
#AFBF47 #47BF93 #5747BF #BF4773
square
#AFBF47 #47BF93 #5747BF #BF4773
split-complementary
#AFBF47 #4773BF #9347BF
monochromatic
#5F6824 #889534 #AFBF47 #C3CF74 #D6DFA2
Accessibility & contrast
On white
2.03
#AFBF47 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.37
#AFBF47 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBF47
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBF47 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBF47 | 1.00 | 2.03 | 10.37 | 10.37 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB638
Deuteranopia (green-blind)
#CAB74F
Tritanopia (blue-blind)
#B9B5A6
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afbf47; /* rgb */ color: rgb(175, 191, 71); /* oklch */ color: oklch(76.9% 0.144 116.4);
Tailwind
colors: {
custom: {
50: '#cad280',
500: '#afbf47',
950: '#000000',
},
}SCSS
$custom: #afbf47; $custom-light: #cad280; $custom-dark: #000000;
JSON
{
"hex": "#afbf47",
"rgb": {
"r": 175,
"g": 191,
"b": 71
},
"hsl": {
"h": 68,
"s": 48.387,
"l": 51.373
},
"oklch": {
"l": 0.76908,
"c": 0.14449,
"h": 116.4
},
"luminance": 0.4683
}Semantic roles & 50–950 ramp
primary
#AFBF47
secondary
#9E96CB
accent
#50D862
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140A
muted
#82827C