#AFAE4A#AFAE4A
#AFAE4A is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.2% C 0.123 H 108.6°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAE4A |
|---|---|
| RGB | rgb(175, 174, 74) |
| HSL | hsl(59, 41%, 49%) |
| HSV | hsv(59, 58%, 69%) |
| CMYK | cmyk(0%, 0.6%, 57.7%, 31.4%) |
| CIE-LAB | lab(69.39, -12.92, 50.32) |
| CIE-LCH | lch(69.39, 51.95, 104.40°) |
| OKLab | oklab(73.16% -0.039 0.1162) |
| OKLCH | oklch(73.16% 0.123 108.6) |
| XYZ | xyz(34.0523, 39.8814, 12.3813) |
| Luminance | 0.3988 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.96
Vomit
#A2A415
ΔE00 5.21
Khaki (survey)
#AAA662
ΔE00 5.44
Puke
#A5A502
ΔE00 5.67
Mustard Green
#A8B504
ΔE00 6.24
Booger
#9BB53C
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAE4A #4A4BAF
analogous
#AF7C4A #AFAE4A #7EAF4A
triadic
#AFAE4A #4AAFAE #AE4AAF
tetradic
#AFAE4A #4AAF7C #4A4BAF #AF4A7E
square
#AFAE4A #4AAF7C #4A4BAF #AF4A7E
split-complementary
#AFAE4A #4A7EAF #7C4AAF
monochromatic
#595826 #848338 #AFAE4A #C4C373 #D6D59E
Accessibility & contrast
On white
2.34
#AFAE4A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#AFAE4A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAE4A
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAE4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAE4A | 1.00 | 2.34 | 8.98 | 8.98 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA73F
Deuteranopia (green-blind)
#BDAB50
Tritanopia (blue-blind)
#BAA498
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #afae4a; /* rgb */ color: rgb(175, 174, 74); /* oklch */ color: oklch(73.2% 0.123 108.6);
Tailwind
colors: {
custom: {
50: '#c9c680',
500: '#afae4a',
950: '#000000',
},
}SCSS
$custom: #afae4a; $custom-light: #c9c680; $custom-dark: #000000;
JSON
{
"hex": "#afae4a",
"rgb": {
"r": 175,
"g": 174,
"b": 74
},
"hsl": {
"h": 59.406,
"s": 40.562,
"l": 48.824
},
"oklch": {
"l": 0.73161,
"c": 0.12256,
"h": 108.6
},
"luminance": 0.3988
}Semantic roles & 50–950 ramp
primary
#AFAE4A
secondary
#9293C2
accent
#59D057
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13120A
muted
#82817C