#AFBF55#AFBF55
#AFBF55 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.1% C 0.133 H 116.8°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #AFBF55 |
|---|---|
| RGB | rgb(175, 191, 85) |
| HSL | hsl(69, 45%, 54%) |
| HSV | hsv(69, 55%, 75%) |
| CMYK | cmyk(8.4%, 0%, 55.5%, 25.1%) |
| CIE-LAB | lab(74.21, -20.65, 50.72) |
| CIE-LCH | lch(74.21, 54.77, 112.16°) |
| OKLab | oklab(77.05% -0.0597 0.1183) |
| OKLCH | oklch(77.05% 0.133 116.8) |
| XYZ | xyz(37.9503, 47.0318, 15.6714) |
| Luminance | 0.4703 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Olive Green
#A4BE5C
ΔE00 2.98
Light Olive
#ACBF69
ΔE00 3.38
Booger
#9BB53C
ΔE00 4.16
Sick Green
#9DB92C
ΔE00 4.62
Tan Green
#A9BE70
ΔE00 4.99
Pea
#A4BF20
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFBF55 #6555BF
analogous
#BF9A55 #AFBF55 #7ABF55
triadic
#AFBF55 #55AFBF #BF55AF
tetradic
#AFBF55 #55BF9A #6555BF #BF557A
square
#AFBF55 #55BF9A #6555BF #BF557A
split-complementary
#AFBF55 #557ABF #9A55BF
monochromatic
#65702A #8D9C3B #AFBF55 #C4D081 #D9E0AE
Accessibility & contrast
On white
2.02
#AFBF55 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.41
#AFBF55 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFBF55
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFBF55 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFBF55 | 1.00 | 2.02 | 10.41 | 10.41 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB64A
Deuteranopia (green-blind)
#C9B75B
Tritanopia (blue-blind)
#B8B5A8
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #afbf55; /* rgb */ color: rgb(175, 191, 85); /* oklch */ color: oklch(77.1% 0.133 116.8);
Tailwind
colors: {
custom: {
50: '#c9d288',
500: '#afbf55',
950: '#000000',
},
}SCSS
$custom: #afbf55; $custom-light: #c9d288; $custom-dark: #000000;
JSON
{
"hex": "#afbf55",
"rgb": {
"r": 175,
"g": 191,
"b": 85
},
"hsl": {
"h": 69.057,
"s": 45.299,
"l": 54.118
},
"oklch": {
"l": 0.77053,
"c": 0.13254,
"h": 116.8
},
"luminance": 0.47031
}Semantic roles & 50–950 ramp
primary
#AFBF55
secondary
#A8A1CE
accent
#53D566
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13140C
muted
#82827D