#AFB950#AFB950
#AFB950 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 75.7% C 0.130 H 114.1°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB950 |
|---|---|
| RGB | rgb(175, 185, 80) |
| HSL | hsl(66, 43%, 52%) |
| HSV | hsv(66, 57%, 73%) |
| CMYK | cmyk(5.4%, 0%, 56.8%, 27.5%) |
| CIE-LAB | lab(72.49, -18.07, 51.06) |
| CIE-LCH | lch(72.49, 54.16, 109.48°) |
| OKLab | oklab(75.66% -0.0529 0.1185) |
| OKLCH | oklch(75.66% 0.13 114.1) |
| XYZ | xyz(36.4769, 44.3917, 14.2347) |
| Luminance | 0.4439 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 4.17
Light Olive Green
#A4BE5C
ΔE00 4.28
Light Olive
#ACBF69
ΔE00 4.38
Sick Green
#9DB92C
ΔE00 4.81
Pea
#A4BF20
ΔE00 5.47
Snot
#ACBB0D
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB950 #5A50B9
analogous
#B98E50 #AFB950 #7BB950
triadic
#AFB950 #50AFB9 #B950AF
tetradic
#AFB950 #50B98E #5A50B9 #B9507B
square
#AFB950 #50B98E #5A50B9 #B9507B
split-complementary
#AFB950 #507BB9 #8E50B9
monochromatic
#606629 #89923A #AFB950 #C3CA7C #D7DCA7
Accessibility & contrast
On white
2.13
#AFB950 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.88
#AFB950 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB950
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB950 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB950 | 1.00 | 2.13 | 9.88 | 9.88 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B145
Deuteranopia (green-blind)
#C5B356
Tritanopia (blue-blind)
#B9AFA2
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #afb950; /* rgb */ color: rgb(175, 185, 80); /* oklch */ color: oklch(75.7% 0.130 114.1);
Tailwind
colors: {
custom: {
50: '#c9cd85',
500: '#afb950',
950: '#000000',
},
}SCSS
$custom: #afb950; $custom-light: #c9cd85; $custom-dark: #000000;
JSON
{
"hex": "#afb950",
"rgb": {
"r": 175,
"g": 185,
"b": 80
},
"hsl": {
"h": 65.714,
"s": 42.857,
"l": 51.961
},
"oklch": {
"l": 0.75659,
"c": 0.12978,
"h": 114.1
},
"luminance": 0.44391
}Semantic roles & 50–950 ramp
primary
#AFB950
secondary
#A09BC9
accent
#55D361
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C