#AFB149#AFB149
#AFB149 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.8% C 0.127 H 110.2°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB149 |
|---|---|
| RGB | rgb(175, 177, 73) |
| HSL | hsl(61, 42%, 49%) |
| HSV | hsv(61, 59%, 69%) |
| CMYK | cmyk(1.1%, 0%, 58.8%, 30.6%) |
| CIE-LAB | lab(70.20, -14.54, 51.68) |
| CIE-LCH | lch(70.20, 53.69, 105.71°) |
| OKLab | oklab(73.81% -0.0437 0.119) |
| OKLCH | oklch(73.81% 0.127 110.2) |
| XYZ | xyz(34.6049, 41.0401, 12.4007) |
| Luminance | 0.4104 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.20
Vomit
#A2A415
ΔE00 5.39
Mustard Green
#A8B504
ΔE00 5.51
Booger
#9BB53C
ΔE00 5.57
Puke
#A5A502
ΔE00 5.82
Puke Green
#9AAE07
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB149 #4B49B1
analogous
#B17F49 #AFB149 #7BB149
triadic
#AFB149 #49AFB1 #B149AF
tetradic
#AFB149 #49B17F #4B49B1 #B1497B
square
#AFB149 #49B17F #4B49B1 #B1497B
split-complementary
#AFB149 #497BB1 #7F49B1
monochromatic
#595A25 #848637 #AFB149 #C3C572 #D6D79E
Accessibility & contrast
On white
2.28
#AFB149 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.21
#AFB149 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB149
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB149 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB149 | 1.00 | 2.28 | 9.21 | 9.21 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAA3D
Deuteranopia (green-blind)
#BFAD4F
Tritanopia (blue-blind)
#BAA79B
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #afb149; /* rgb */ color: rgb(175, 177, 73); /* oklch */ color: oklch(73.8% 0.127 110.2);
Tailwind
colors: {
custom: {
50: '#c9c880',
500: '#afb149',
950: '#000000',
},
}SCSS
$custom: #afb149; $custom-light: #c9c880; $custom-dark: #000000;
JSON
{
"hex": "#afb149",
"rgb": {
"r": 175,
"g": 177,
"b": 73
},
"hsl": {
"h": 61.154,
"s": 41.6,
"l": 49.02
},
"oklch": {
"l": 0.73811,
"c": 0.12674,
"h": 110.2
},
"luminance": 0.41039
}Semantic roles & 50–950 ramp
primary
#AFB149
secondary
#9392C3
accent
#56D159
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130A
muted
#82827C