#AFBA54#AFBA54
#AFBA54 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 75.9% C 0.127 H 114.6°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBA54 |
|---|---|
| RGB | rgb(175, 186, 84) |
| HSL | hsl(66, 43%, 53%) |
| HSV | hsv(66, 55%, 73%) |
| CMYK | cmyk(5.9%, 0%, 54.8%, 27.1%) |
| CIE-LAB | lab(72.81, -18.24, 49.58) |
| CIE-LCH | lch(72.81, 52.83, 110.20°) |
| OKLab | oklab(75.93% -0.053 0.1158) |
| OKLCH | oklch(75.93% 0.127 114.6) |
| XYZ | xyz(36.8390, 44.8724, 15.1064) |
| Luminance | 0.4487 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive
#ACBF69
ΔE00 3.79
Light Olive Green
#A4BE5C
ΔE00 3.80
Booger
#9BB53C
ΔE00 4.24
Sick Green
#9DB92C
ΔE00 5.01
Tan Green
#A9BE70
ΔE00 5.26
Darkkhaki
#BDB76B
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBA54 #5F54BA
analogous
#BA9254 #AFBA54 #7CBA54
triadic
#AFBA54 #54AFBA #BA54AF
tetradic
#AFBA54 #54BA92 #5F54BA #BA547C
square
#AFBA54 #54BA92 #5F54BA #BA547C
split-complementary
#AFBA54 #547CBA #9254BA
monochromatic
#62692A #8B953C #AFBA54 #C3CC80 #D8DDAB
Accessibility & contrast
On white
2.11
#AFBA54 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.97
#AFBA54 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBA54
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBA54 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBA54 | 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)
#C6B24A
Deuteranopia (green-blind)
#C5B45A
Tritanopia (blue-blind)
#B9B0A3
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #afba54; /* rgb */ color: rgb(175, 186, 84); /* oklch */ color: oklch(75.9% 0.127 114.6);
Tailwind
colors: {
custom: {
50: '#c9ce87',
500: '#afba54',
950: '#000000',
},
}SCSS
$custom: #afba54; $custom-light: #c9ce87; $custom-dark: #000000;
JSON
{
"hex": "#afba54",
"rgb": {
"r": 175,
"g": 186,
"b": 84
},
"hsl": {
"h": 66.471,
"s": 42.5,
"l": 52.941
},
"oklch": {
"l": 0.75927,
"c": 0.12732,
"h": 114.6
},
"luminance": 0.44872
}Semantic roles & 50–950 ramp
primary
#AFBA54
secondary
#A49FCB
accent
#56D263
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13130B
muted
#82827C