#AFA93A#AFA93A
#AFA93A is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.9% C 0.130 H 106.2°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA93A |
|---|---|
| RGB | rgb(175, 169, 58) |
| HSL | hsl(57, 50%, 46%) |
| HSV | hsv(57, 67%, 69%) |
| CMYK | cmyk(0%, 3.4%, 66.9%, 31.4%) |
| CIE-LAB | lab(67.87, -11.40, 55.65) |
| CIE-LCH | lch(67.87, 56.81, 101.58°) |
| OKLab | oklab(71.91% -0.0365 0.1252) |
| OKLCH | oklch(71.91% 0.13 106.2) |
| XYZ | xyz(32.6321, 37.7965, 9.5787) |
| Luminance | 0.3780 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.68
Puke
#A5A502
ΔE00 3.88
Muddy Yellow
#BFAC05
ΔE00 5.61
Mustard Green
#A8B504
ΔE00 6.17
Olive Yellow
#C2B709
ΔE00 6.27
Pea Soup Green
#94A617
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA93A #3A40AF
analogous
#AF6E3A #AFA93A #7AAF3A
triadic
#AFA93A #3AAFA9 #A93AAF
tetradic
#AFA93A #3AAF6E #3A40AF #AF3A7A
square
#AFA93A #3AAF6E #3A40AF #AF3A7A
split-complementary
#AFA93A #3A7AAF #6E3AAF
monochromatic
#53501C #817D2B #AFA93A #C9C45D #D9D58B
Accessibility & contrast
On white
2.45
#AFA93A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.56
#AFA93A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA93A
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA93A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA93A | 1.00 | 2.45 | 8.56 | 8.56 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A32B
Deuteranopia (green-blind)
#BAA741
Tritanopia (blue-blind)
#BC9E92
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #afa93a; /* rgb */ color: rgb(175, 169, 58); /* oklch */ color: oklch(71.9% 0.130 106.2);
Tailwind
colors: {
custom: {
50: '#cac276',
500: '#afa93a',
950: '#000000',
},
}SCSS
$custom: #afa93a; $custom-light: #cac276; $custom-dark: #000000;
JSON
{
"hex": "#afa93a",
"rgb": {
"r": 175,
"g": 169,
"b": 58
},
"hsl": {
"h": 56.923,
"s": 50.215,
"l": 45.686
},
"oklch": {
"l": 0.7191,
"c": 0.13037,
"h": 106.2
},
"luminance": 0.37795
}Semantic roles & 50–950 ramp
primary
#AFA93A
secondary
#8285C3
accent
#55DA4E
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B