#AFAE3A#AFAE3A
#AFAE3A is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.0% C 0.135 H 108.9°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAE3A |
|---|---|
| RGB | rgb(175, 174, 58) |
| HSL | hsl(59, 50%, 46%) |
| HSV | hsv(59, 67%, 69%) |
| CMYK | cmyk(0%, 0.6%, 66.9%, 31.4%) |
| CIE-LAB | lab(69.25, -13.99, 57.07) |
| CIE-LCH | lch(69.25, 58.75, 103.77°) |
| OKLab | oklab(73.01% -0.0437 0.1281) |
| OKLCH | oklch(73.01% 0.135 108.9) |
| XYZ | xyz(33.5801, 39.6925, 9.8947) |
| Luminance | 0.3969 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.84
Puke
#A5A502
ΔE00 4.04
Mustard Green
#A8B504
ΔE00 4.69
Puke Green
#9AAE07
ΔE00 5.43
Snot
#ACBB0D
ΔE00 5.57
Pea Soup Green
#94A617
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAE3A #3A3BAF
analogous
#AF733A #AFAE3A #75AF3A
triadic
#AFAE3A #3AAFAE #AE3AAF
tetradic
#AFAE3A #3AAF73 #3A3BAF #AF3A75
square
#AFAE3A #3AAF73 #3A3BAF #AF3A75
split-complementary
#AFAE3A #3A75AF #733AAF
monochromatic
#53531C #81802B #AFAE3A #C9C85D #D9D88B
Accessibility & contrast
On white
2.35
#AFAE3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.94
#AFAE3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAE3A
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAE3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAE3A | 1.00 | 2.35 | 8.94 | 8.94 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA729
Deuteranopia (green-blind)
#BEAB42
Tritanopia (blue-blind)
#BBA397
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #afae3a; /* rgb */ color: rgb(175, 174, 58); /* oklch */ color: oklch(73.0% 0.135 108.9);
Tailwind
colors: {
custom: {
50: '#cac577',
500: '#afae3a',
950: '#000000',
},
}SCSS
$custom: #afae3a; $custom-light: #cac577; $custom-dark: #000000;
JSON
{
"hex": "#afae3a",
"rgb": {
"r": 175,
"g": 174,
"b": 58
},
"hsl": {
"h": 59.487,
"s": 50.215,
"l": 45.686
},
"oklch": {
"l": 0.7301,
"c": 0.1354,
"h": 108.9
},
"luminance": 0.39692
}Semantic roles & 50–950 ramp
primary
#AFAE3A
secondary
#8282C3
accent
#4FDA4E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141209
muted
#82817B