#AFA459#AFA459
#AFA459 is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.2% C 0.097 H 101.1°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA459 |
|---|---|
| RGB | rgb(175, 164, 89) |
| HSL | hsl(52, 35%, 52%) |
| HSV | hsv(52, 49%, 69%) |
| CMYK | cmyk(0%, 6.3%, 49.1%, 31.4%) |
| CIE-LAB | lab(66.81, -6.40, 40.07) |
| CIE-LCH | lch(66.81, 40.58, 99.07°) |
| OKLab | oklab(71.17% -0.0187 0.0955) |
| OKLCH | oklch(71.17% 0.097 101.1) |
| XYZ | xyz(32.7587, 36.3872, 14.7471) |
| Luminance | 0.3639 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.60
Darkkhaki
#BDB76B
ΔE00 5.37
Sandy Brown
#C4A661
ΔE00 6.51
Dark Khaki
#9B8F55
ΔE00 7.14
Desert
#CCAD60
ΔE00 7.18
Sand
#C2B280
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA459 #5964AF
analogous
#AF7959 #AFA459 #8FAF59
triadic
#AFA459 #59AFA4 #A459AF
tetradic
#AFA459 #59AF79 #5964AF #AF598F
square
#AFA459 #59AF79 #5964AF #AF598F
split-complementary
#AFA459 #598FAF #7959AF
monochromatic
#60592E #898042 #AFA459 #C3BB82 #D7D1AC
Accessibility & contrast
On white
2.54
#AFA459 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.28
#AFA459 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA459
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA459 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA459 | 1.00 | 2.54 | 8.28 | 8.28 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B0A053
Deuteranopia (green-blind)
#B4A55C
Tritanopia (blue-blind)
#BA9B92
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #afa459; /* rgb */ color: rgb(175, 164, 89); /* oklch */ color: oklch(71.2% 0.097 101.1);
Tailwind
colors: {
custom: {
50: '#c9be89',
500: '#afa459',
950: '#000000',
},
}SCSS
$custom: #afa459; $custom-light: #c9be89; $custom-dark: #000000;
JSON
{
"hex": "#afa459",
"rgb": {
"r": 175,
"g": 164,
"b": 89
},
"hsl": {
"h": 52.326,
"s": 34.959,
"l": 51.765
},
"oklch": {
"l": 0.71171,
"c": 0.09735,
"h": 101.1
},
"luminance": 0.36386
}Semantic roles & 50–950 ramp
primary
#AFA459
secondary
#9FA4C5
accent
#6BCB5D
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D