#AFBF54#AFBF54
#AFBF54 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.0% C 0.133 H 116.7°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBF54 |
|---|---|
| RGB | rgb(175, 191, 84) |
| HSL | hsl(69, 46%, 54%) |
| HSV | hsv(69, 56%, 75%) |
| CMYK | cmyk(8.4%, 0%, 56%, 25.1%) |
| CIE-LAB | lab(74.20, -20.74, 51.17) |
| CIE-LCH | lch(74.20, 55.21, 112.06°) |
| OKLab | oklab(77.04% -0.06 0.1192) |
| OKLCH | oklch(77.04% 0.133 116.7) |
| XYZ | xyz(37.9108, 47.0161, 15.4637) |
| Luminance | 0.4702 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive Green
#A4BE5C
ΔE00 3.07
Light Olive
#ACBF69
ΔE00 3.51
Booger
#9BB53C
ΔE00 4.12
Sick Green
#9DB92C
ΔE00 4.52
Pea
#A4BF20
ΔE00 4.96
Tan Green
#A9BE70
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBF54 #6454BF
analogous
#BF9A54 #AFBF54 #7ABF54
triadic
#AFBF54 #54AFBF #BF54AF
tetradic
#AFBF54 #54BF9A #6454BF #BF547A
square
#AFBF54 #54BF9A #6454BF #BF547A
split-complementary
#AFBF54 #547ABF #9A54BF
monochromatic
#656F2A #8D9C3A #AFBF54 #C4D081 #D9E0AD
Accessibility & contrast
On white
2.02
#AFBF54 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.40
#AFBF54 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBF54
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBF54 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBF54 | 1.00 | 2.02 | 10.40 | 10.40 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB649
Deuteranopia (green-blind)
#C9B75A
Tritanopia (blue-blind)
#B9B5A8
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afbf54; /* rgb */ color: rgb(175, 191, 84); /* oklch */ color: oklch(77.0% 0.133 116.7);
Tailwind
colors: {
custom: {
50: '#c9d288',
500: '#afbf54',
950: '#000000',
},
}SCSS
$custom: #afbf54; $custom-light: #c9d288; $custom-dark: #000000;
JSON
{
"hex": "#afbf54",
"rgb": {
"r": 175,
"g": 191,
"b": 84
},
"hsl": {
"h": 68.972,
"s": 45.532,
"l": 53.922
},
"oklch": {
"l": 0.77041,
"c": 0.13345,
"h": 116.7
},
"luminance": 0.47016
}Semantic roles & 50–950 ramp
primary
#AFBF54
secondary
#A7A1CE
accent
#53D566
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13140C
muted
#82827D