#AFA53A#AFA53A
#AFA53A is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.0% C 0.127 H 104.0°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA53A |
|---|---|
| RGB | rgb(175, 165, 58) |
| HSL | hsl(55, 50%, 46%) |
| HSV | hsv(55, 67%, 69%) |
| CMYK | cmyk(0%, 5.7%, 66.9%, 31.4%) |
| CIE-LAB | lab(66.77, -9.31, 54.52) |
| CIE-LCH | lch(66.77, 55.31, 99.69°) |
| OKLab | oklab(71.04% -0.0305 0.1228) |
| OKLCH | oklch(71.04% 0.127 104) |
| XYZ | xyz(31.8993, 36.3309, 9.3344) |
| Luminance | 0.3633 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.22
Puke
#A5A502
ΔE00 4.38
Muddy Yellow
#BFAC05
ΔE00 5.55
Khaki (survey)
#AAA662
ΔE00 6.41
Brown Yellow
#B29705
ΔE00 6.62
Pea Soup
#929901
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA53A #3A44AF
analogous
#AF6A3A #AFA53A #7EAF3A
triadic
#AFA53A #3AAFA5 #A53AAF
tetradic
#AFA53A #3AAF6A #3A44AF #AF3A7E
square
#AFA53A #3AAF6A #3A44AF #AF3A7E
split-complementary
#AFA53A #3A7EAF #6A3AAF
monochromatic
#534E1C #817A2B #AFA53A #C9C05D #D9D28B
Accessibility & contrast
On white
2.54
#AFA53A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.27
#AFA53A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA53A
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA53A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA53A | 1.00 | 2.54 | 8.27 | 8.27 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A02C
Deuteranopia (green-blind)
#B7A541
Tritanopia (blue-blind)
#BC9A8F
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #afa53a; /* rgb */ color: rgb(175, 165, 58); /* oklch */ color: oklch(71.0% 0.127 104.0);
Tailwind
colors: {
custom: {
50: '#cabf76',
500: '#afa53a',
950: '#000000',
},
}SCSS
$custom: #afa53a; $custom-light: #cabf76; $custom-dark: #000000;
JSON
{
"hex": "#afa53a",
"rgb": {
"r": 175,
"g": 165,
"b": 58
},
"hsl": {
"h": 54.872,
"s": 50.215,
"l": 45.686
},
"oklch": {
"l": 0.71036,
"c": 0.12652,
"h": 104
},
"luminance": 0.3633
}Semantic roles & 50–950 ramp
primary
#AFA53A
secondary
#8287C3
accent
#5ADA4E
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B