#AFB047#AFB047
#AFB047 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.6% C 0.127 H 109.7°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #AFB047 |
|---|---|
| RGB | rgb(175, 176, 71) |
| HSL | hsl(61, 43%, 48%) |
| HSV | hsv(61, 60%, 69%) |
| CMYK | cmyk(0.6%, 0%, 59.7%, 31%) |
| CIE-LAB | lab(69.91, -14.17, 52.25) |
| CIE-LCH | lch(69.91, 54.14, 105.18°) |
| OKLab | oklab(73.57% -0.0429 0.1199) |
| OKLCH | oklch(73.57% 0.127 109.7) |
| XYZ | xyz(34.3428, 40.6205, 11.9915) |
| Luminance | 0.4062 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 5.08
Darkkhaki
#BDB76B
ΔE00 5.34
Mustard Green
#A8B504
ΔE00 5.47
Puke
#A5A502
ΔE00 5.50
Booger
#9BB53C
ΔE00 5.81
Puke Green
#9AAE07
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFB047 #4847B0
analogous
#B07C47 #AFB047 #7AB047
triadic
#AFB047 #47AFB0 #B047AF
tetradic
#AFB047 #47B07C #4847B0 #B0477A
square
#AFB047 #47B07C #4847B0 #B0477A
split-complementary
#AFB047 #477AB0 #7C47B0
monochromatic
#585924 #848435 #AFB047 #C4C56F #D6D79B
Accessibility & contrast
On white
2.30
#AFB047 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.12
#AFB047 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFB047
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFB047 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFB047 | 1.00 | 2.30 | 9.12 | 9.12 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA93B
Deuteranopia (green-blind)
#BEAC4D
Tritanopia (blue-blind)
#BAA69A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #afb047; /* rgb */ color: rgb(175, 176, 71); /* oklch */ color: oklch(73.6% 0.127 109.7);
Tailwind
colors: {
custom: {
50: '#c9c77f',
500: '#afb047',
950: '#000000',
},
}SCSS
$custom: #afb047; $custom-light: #c9c77f; $custom-dark: #000000;
JSON
{
"hex": "#afb047",
"rgb": {
"r": 175,
"g": 176,
"b": 71
},
"hsl": {
"h": 60.571,
"s": 42.51,
"l": 48.431
},
"oklch": {
"l": 0.7357,
"c": 0.12735,
"h": 109.7
},
"luminance": 0.4062
}Semantic roles & 50–950 ramp
primary
#AFB047
secondary
#9090C3
accent
#56D257
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#13130A
muted
#82827C