#AFAE47#AFAE47
#AFAE47 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 73.1% C 0.125 H 108.6°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAE47 |
|---|---|
| RGB | rgb(175, 174, 71) |
| HSL | hsl(59, 42%, 48%) |
| HSV | hsv(59, 59%, 69%) |
| CMYK | cmyk(0%, 0.6%, 59.4%, 31.4%) |
| CIE-LAB | lab(69.36, -13.14, 51.65) |
| CIE-LCH | lch(69.36, 53.29, 104.28°) |
| OKLab | oklab(73.13% -0.0399 0.1186) |
| OKLCH | oklch(73.13% 0.125 108.6) |
| XYZ | xyz(33.9536, 39.8419, 11.8617) |
| Luminance | 0.3984 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.90
Darkkhaki
#BDB76B
ΔE00 5.27
Puke
#A5A502
ΔE00 5.32
Khaki (survey)
#AAA662
ΔE00 5.80
Mustard Green
#A8B504
ΔE00 5.90
Puke Green
#9AAE07
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAE47 #4748AF
analogous
#AF7A47 #AFAE47 #7CAF47
triadic
#AFAE47 #47AFAE #AE47AF
tetradic
#AFAE47 #47AF7A #4748AF #AF477C
square
#AFAE47 #47AF7A #4748AF #AF477C
split-complementary
#AFAE47 #477CAF #7A47AF
monochromatic
#585724 #838335 #AFAE47 #C4C46F #D6D69A
Accessibility & contrast
On white
2.34
#AFAE47 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.97
#AFAE47 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAE47
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAE47 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAE47 | 1.00 | 2.34 | 8.97 | 8.97 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA73B
Deuteranopia (green-blind)
#BDAB4D
Tritanopia (blue-blind)
#BBA498
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #afae47; /* rgb */ color: rgb(175, 174, 71); /* oklch */ color: oklch(73.1% 0.125 108.6);
Tailwind
colors: {
custom: {
50: '#c9c67e',
500: '#afae47',
950: '#000000',
},
}SCSS
$custom: #afae47; $custom-light: #c9c67e; $custom-dark: #000000;
JSON
{
"hex": "#afae47",
"rgb": {
"r": 175,
"g": 174,
"b": 71
},
"hsl": {
"h": 59.423,
"s": 42.276,
"l": 48.235
},
"oklch": {
"l": 0.73129,
"c": 0.12518,
"h": 108.6
},
"luminance": 0.39841
}Semantic roles & 50–950 ramp
primary
#AFAE47
secondary
#8F90C2
accent
#57D256
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#13120A
muted
#82817C