#AFBA52#AFBA52
#AFBA52 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 75.9% C 0.129 H 114.5°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBA52 |
|---|---|
| RGB | rgb(175, 186, 82) |
| HSL | hsl(66, 43%, 53%) |
| HSV | hsv(66, 56%, 73%) |
| CMYK | cmyk(5.9%, 0%, 55.9%, 27.1%) |
| CIE-LAB | lab(72.79, -18.41, 50.48) |
| CIE-LCH | lch(72.79, 53.73, 110.03°) |
| OKLab | oklab(75.9% -0.0537 0.1175) |
| OKLCH | oklch(75.9% 0.129 114.5) |
| XYZ | xyz(36.7618, 44.8415, 14.6997) |
| Luminance | 0.4484 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive Green
#A4BE5C
ΔE00 3.94
Light Olive
#ACBF69
ΔE00 4.03
Booger
#9BB53C
ΔE00 4.15
Sick Green
#9DB92C
ΔE00 4.82
Pea
#A4BF20
ΔE00 5.48
Tan Green
#A9BE70
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBA52 #5D52BA
analogous
#BA9152 #AFBA52 #7BBA52
triadic
#AFBA52 #52AFBA #BA52AF
tetradic
#AFBA52 #52BA91 #5D52BA #BA527B
square
#AFBA52 #52BA91 #5D52BA #BA527B
split-complementary
#AFBA52 #527BBA #9152BA
monochromatic
#61682A #8A943B #AFBA52 #C3CB7E #D7DDAA
Accessibility & contrast
On white
2.11
#AFBA52 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.97
#AFBA52 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBA52
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBA52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBA52 | 1.00 | 2.11 | 9.97 | 9.97 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B247
Deuteranopia (green-blind)
#C5B458
Tritanopia (blue-blind)
#B9B0A3
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #afba52; /* rgb */ color: rgb(175, 186, 82); /* oklch */ color: oklch(75.9% 0.129 114.5);
Tailwind
colors: {
custom: {
50: '#c9ce86',
500: '#afba52',
950: '#000000',
},
}SCSS
$custom: #afba52; $custom-light: #c9ce86; $custom-dark: #000000;
JSON
{
"hex": "#afba52",
"rgb": {
"r": 175,
"g": 186,
"b": 82
},
"hsl": {
"h": 66.346,
"s": 42.975,
"l": 52.549
},
"oklch": {
"l": 0.75904,
"c": 0.12916,
"h": 114.5
},
"luminance": 0.44841
}Semantic roles & 50–950 ramp
primary
#AFBA52
secondary
#A29DCA
accent
#55D362
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13130B
muted
#82827C