#AFA759#AFA759
#AFA759 is a light, moderate yellow. Relative luminance 0.375; OKLCH L 71.8% C 0.100 H 103.4°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA759 |
|---|---|
| RGB | rgb(175, 167, 89) |
| HSL | hsl(54, 35%, 52%) |
| HSV | hsv(54, 49%, 69%) |
| CMYK | cmyk(0%, 4.6%, 49.1%, 31.4%) |
| CIE-LAB | lab(67.63, -7.99, 41.06) |
| CIE-LCH | lch(67.63, 41.83, 101.01°) |
| OKLab | oklab(71.82% -0.0233 0.0977) |
| OKLCH | oklch(71.82% 0.1 103.4) |
| XYZ | xyz(33.3020, 37.4737, 14.9282) |
| Luminance | 0.3747 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.29
Darkkhaki
#BDB76B
ΔE00 4.53
Sandy Brown
#C4A661
ΔE00 7.38
Sand
#C2B280
ΔE00 7.56
Vomit
#A2A415
ΔE00 7.64
Desert
#CCAD60
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA759 #5961AF
analogous
#AF7C59 #AFA759 #8CAF59
triadic
#AFA759 #59AFA7 #A759AF
tetradic
#AFA759 #59AF7C #5961AF #AF598C
square
#AFA759 #59AF7C #5961AF #AF598C
split-complementary
#AFA759 #598CAF #7C59AF
monochromatic
#605B2E #898242 #AFA759 #C3BD82 #D7D3AC
Accessibility & contrast
On white
2.47
#AFA759 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.49
#AFA759 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA759
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA759 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA759 | 1.00 | 2.47 | 8.49 | 8.49 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A252
Deuteranopia (green-blind)
#B6A75D
Tritanopia (blue-blind)
#BA9E95
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #afa759; /* rgb */ color: rgb(175, 167, 89); /* oklch */ color: oklch(71.8% 0.100 103.4);
Tailwind
colors: {
custom: {
50: '#c9c18a',
500: '#afa759',
950: '#000000',
},
}SCSS
$custom: #afa759; $custom-light: #c9c18a; $custom-dark: #000000;
JSON
{
"hex": "#afa759",
"rgb": {
"r": 175,
"g": 167,
"b": 89
},
"hsl": {
"h": 54.419,
"s": 34.959,
"l": 51.765
},
"oklch": {
"l": 0.71819,
"c": 0.10045,
"h": 103.4
},
"luminance": 0.37473
}Semantic roles & 50–950 ramp
primary
#AFA759
secondary
#9FA3C5
accent
#67CB5D
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#13120C
muted
#82817D