#AFA53B#AFA53B
#AFA53B is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.0% C 0.126 H 103.9°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA53B |
|---|---|
| RGB | rgb(175, 165, 59) |
| HSL | hsl(55, 50%, 46%) |
| HSV | hsv(55, 66%, 69%) |
| CMYK | cmyk(0%, 5.7%, 66.3%, 31.4%) |
| CIE-LAB | lab(66.78, -9.25, 54.11) |
| CIE-LCH | lch(66.78, 54.90, 99.70°) |
| OKLab | oklab(71.04% -0.0302 0.1221) |
| OKLCH | oklch(71.04% 0.126 103.9) |
| XYZ | xyz(31.9250, 36.3412, 9.4697) |
| Luminance | 0.3634 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.30
Puke
#A5A502
ΔE00 4.48
Muddy Yellow
#BFAC05
ΔE00 5.64
Khaki (survey)
#AAA662
ΔE00 6.29
Brown Yellow
#B29705
ΔE00 6.67
Pea Soup
#929901
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA53B #3B45AF
analogous
#AF6B3B #AFA53B #7FAF3B
triadic
#AFA53B #3BAFA5 #A53BAF
tetradic
#AFA53B #3BAF6B #3B45AF #AF3B7F
square
#AFA53B #3BAF6B #3B45AF #AF3B7F
split-complementary
#AFA53B #3B7FAF #6B3BAF
monochromatic
#534F1C #817A2C #AFA53B #C9C05E #D8D28C
Accessibility & contrast
On white
2.54
#AFA53B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.27
#AFA53B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA53B
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA53B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA53B | 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)
#B3A02D
Deuteranopia (green-blind)
#B7A541
Tritanopia (blue-blind)
#BC9A8F
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #afa53b; /* rgb */ color: rgb(175, 165, 59); /* oklch */ color: oklch(71.0% 0.126 103.9);
Tailwind
colors: {
custom: {
50: '#cabf77',
500: '#afa53b',
950: '#000000',
},
}SCSS
$custom: #afa53b; $custom-light: #cabf77; $custom-dark: #000000;
JSON
{
"hex": "#afa53b",
"rgb": {
"r": 175,
"g": 165,
"b": 59
},
"hsl": {
"h": 54.828,
"s": 49.573,
"l": 45.882
},
"oklch": {
"l": 0.71044,
"c": 0.12577,
"h": 103.9
},
"luminance": 0.3634
}Semantic roles & 50–950 ramp
primary
#AFA53B
secondary
#8388C3
accent
#5BD94F
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141209
muted
#82817B