#AFA753#AFA753
#AFA753 is a light, moderate yellow. Relative luminance 0.374; OKLCH L 71.7% C 0.107 H 103.8°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA753 |
|---|---|
| RGB | rgb(175, 167, 83) |
| HSL | hsl(55, 37%, 51%) |
| HSV | hsv(55, 53%, 69%) |
| CMYK | cmyk(0%, 4.6%, 52.6%, 31.4%) |
| CIE-LAB | lab(67.56, -8.53, 43.96) |
| CIE-LCH | lch(67.56, 44.78, 100.98°) |
| OKLab | oklab(71.74% -0.0255 0.1035) |
| OKLCH | oklch(71.74% 0.107 103.8) |
| XYZ | xyz(33.0602, 37.3770, 13.6549) |
| Luminance | 0.3738 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.16
Darkkhaki
#BDB76B
ΔE00 4.81
Vomit
#A2A415
ΔE00 6.72
Puke
#A5A502
ΔE00 7.22
Sandy Brown
#C4A661
ΔE00 7.70
Desert
#CCAD60
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA753 #535BAF
analogous
#AF7953 #AFA753 #89AF53
triadic
#AFA753 #53AFA7 #A753AF
tetradic
#AFA753 #53AF79 #535BAF #AF5389
square
#AFA753 #53AF79 #535BAF #AF5389
split-complementary
#AFA753 #5389AF #7953AF
monochromatic
#5D582B #86803E #AFA753 #C2BC7D #D6D2A7
Accessibility & contrast
On white
2.48
#AFA753 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.48
#AFA753 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA753
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA753 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA753 | 1.00 | 2.48 | 8.48 | 8.48 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A24B
Deuteranopia (green-blind)
#B6A757
Tritanopia (blue-blind)
#BA9D94
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #afa753; /* rgb */ color: rgb(175, 167, 83); /* oklch */ color: oklch(71.7% 0.107 103.8);
Tailwind
colors: {
custom: {
50: '#c9c086',
500: '#afa753',
950: '#000000',
},
}SCSS
$custom: #afa753; $custom-light: #c9c086; $custom-dark: #000000;
JSON
{
"hex": "#afa753",
"rgb": {
"r": 175,
"g": 167,
"b": 83
},
"hsl": {
"h": 54.783,
"s": 36.508,
"l": 50.588
},
"oklch": {
"l": 0.71738,
"c": 0.1066,
"h": 103.8
},
"luminance": 0.37376
}Semantic roles & 50–950 ramp
primary
#AFA753
secondary
#9A9EC3
accent
#65CD5B
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#13120B
muted
#82817C