#AFB549#AFB549
#AFB549 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.7% C 0.131 H 112.1°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB549 |
|---|---|
| RGB | rgb(175, 181, 73) |
| HSL | hsl(63, 43%, 50%) |
| HSV | hsv(63, 60%, 71%) |
| CMYK | cmyk(3.3%, 0%, 59.7%, 29%) |
| CIE-LAB | lab(71.31, -16.58, 52.90) |
| CIE-LCH | lch(71.31, 55.44, 107.40°) |
| OKLab | oklab(74.7% -0.0495 0.1216) |
| OKLCH | oklch(74.7% 0.131 112.1) |
| XYZ | xyz(35.4066, 42.6435, 12.6679) |
| Luminance | 0.4264 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 4.65
Mustard Green
#A8B504
ΔE00 4.96
Sick Green
#9DB92C
ΔE00 5.18
Snot
#ACBB0D
ΔE00 5.21
Puke Green
#9AAE07
ΔE00 5.59
Light Olive Green
#A4BE5C
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB549 #4F49B5
analogous
#B58549 #AFB549 #79B549
triadic
#AFB549 #49AFB5 #B549AF
tetradic
#AFB549 #49B585 #4F49B5 #B54979
square
#AFB549 #49B585 #4F49B5 #B54979
split-complementary
#AFB549 #4979B5 #8549B5
monochromatic
#5B5E26 #858937 #AFB549 #C2C774 #D5D9A0
Accessibility & contrast
On white
2.20
#AFB549 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.53
#AFB549 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB549
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB549 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB549 | 1.00 | 2.20 | 9.53 | 9.53 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AD3D
Deuteranopia (green-blind)
#C2B050
Tritanopia (blue-blind)
#BAAB9E
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #afb549; /* rgb */ color: rgb(175, 181, 73); /* oklch */ color: oklch(74.7% 0.131 112.1);
Tailwind
colors: {
custom: {
50: '#c9cb80',
500: '#afb549',
950: '#000000',
},
}SCSS
$custom: #afb549; $custom-light: #c9cb80; $custom-dark: #000000;
JSON
{
"hex": "#afb549",
"rgb": {
"r": 175,
"g": 181,
"b": 73
},
"hsl": {
"h": 63.333,
"s": 42.52,
"l": 49.804
},
"oklch": {
"l": 0.74696,
"c": 0.13124,
"h": 112.1
},
"luminance": 0.42643
}Semantic roles & 50–950 ramp
primary
#AFB549
secondary
#9794C5
accent
#55D25C
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130A
muted
#82827C