#AFB949#AFB949
#AFB949 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.6% C 0.136 H 114.0°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB949 |
|---|---|
| RGB | rgb(175, 185, 73) |
| HSL | hsl(65, 44%, 51%) |
| HSV | hsv(65, 61%, 73%) |
| CMYK | cmyk(5.4%, 0%, 60.5%, 27.5%) |
| CIE-LAB | lab(72.42, -18.60, 54.12) |
| CIE-LCH | lch(72.42, 57.23, 108.97°) |
| OKLab | oklab(75.59% -0.0551 0.1241) |
| OKLCH | oklch(75.59% 0.136 114) |
| XYZ | xyz(36.2316, 44.2936, 12.9429) |
| Luminance | 0.4429 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 4.04
Sick Green
#9DB92C
ΔE00 4.33
Snot
#ACBB0D
ΔE00 4.67
Mustard Green
#A8B504
ΔE00 4.77
Pea
#A4BF20
ΔE00 4.80
Light Olive Green
#A4BE5C
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB949 #5349B9
analogous
#B98B49 #AFB949 #77B949
triadic
#AFB949 #49AFB9 #B949AF
tetradic
#AFB949 #49B98B #5349B9 #B94977
square
#AFB949 #49B98B #5349B9 #B94977
split-complementary
#AFB949 #4977B9 #8B49B9
monochromatic
#5D6226 #868E37 #AFB949 #C2CA75 #D6DBA1
Accessibility & contrast
On white
2.13
#AFB949 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.86
#AFB949 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB949
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB949 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB949 | 1.00 | 2.13 | 9.86 | 9.86 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B13C
Deuteranopia (green-blind)
#C5B350
Tritanopia (blue-blind)
#BAAFA1
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #afb949; /* rgb */ color: rgb(175, 185, 73); /* oklch */ color: oklch(75.6% 0.136 114.0);
Tailwind
colors: {
custom: {
50: '#c9cd80',
500: '#afb949',
950: '#000000',
},
}SCSS
$custom: #afb949; $custom-light: #c9cd80; $custom-dark: #000000;
JSON
{
"hex": "#afb949",
"rgb": {
"r": 175,
"g": 185,
"b": 73
},
"hsl": {
"h": 65.357,
"s": 44.444,
"l": 50.588
},
"oklch": {
"l": 0.75586,
"c": 0.13584,
"h": 114
},
"luminance": 0.44293
}Semantic roles & 50–950 ramp
primary
#AFB949
secondary
#9A96C8
accent
#54D45F
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C