#AFA15A#AFA15A
#AFA15A is a light, moderate yellow. Relative luminance 0.353; OKLCH L 70.5% C 0.093 H 98.4°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA15A |
|---|---|
| RGB | rgb(175, 161, 90) |
| HSL | hsl(50, 35%, 52%) |
| HSV | hsv(50, 49%, 69%) |
| CMYK | cmyk(0%, 8%, 48.6%, 31.4%) |
| CIE-LAB | lab(66.01, -4.70, 38.59) |
| CIE-LCH | lch(66.01, 38.87, 96.94°) |
| OKLab | oklab(70.54% -0.0137 0.0923) |
| OKLCH | oklch(70.54% 0.093 98.4) |
| XYZ | xyz(32.2705, 35.3430, 14.7929) |
| Luminance | 0.3534 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.36
Sandy Brown
#C4A661
ΔE00 5.72
Dark Khaki
#9B8F55
ΔE00 6.24
Darkkhaki
#BDB76B
ΔE00 6.37
Desert
#CCAD60
ΔE00 6.81
Sand
#C2B280
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA15A #5A68AF
analogous
#AF775A #AFA15A #93AF5A
triadic
#AFA15A #5AAFA1 #A15AAF
tetradic
#AFA15A #5AAF77 #5A68AF #AF5A93
square
#AFA15A #5AAF77 #5A68AF #AF5A93
split-complementary
#AFA15A #5A93AF #775AAF
monochromatic
#60582F #897E43 #AFA15A #C3B883 #D7D0AC
Accessibility & contrast
On white
2.60
#AFA15A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.07
#AFA15A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA15A
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA15A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA15A | 1.00 | 2.60 | 8.07 | 8.07 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD9D54
Deuteranopia (green-blind)
#B1A35D
Tritanopia (blue-blind)
#BA9890
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #afa15a; /* rgb */ color: rgb(175, 161, 90); /* oklch */ color: oklch(70.5% 0.093 98.4);
Tailwind
colors: {
custom: {
50: '#c9bc8a',
500: '#afa15a',
950: '#000000',
},
}SCSS
$custom: #afa15a; $custom-light: #c9bc8a; $custom-dark: #000000;
JSON
{
"hex": "#afa15a",
"rgb": {
"r": 175,
"g": 161,
"b": 90
},
"hsl": {
"h": 50.118,
"s": 34.694,
"l": 51.961
},
"oklch": {
"l": 0.70542,
"c": 0.09334,
"h": 98.4
},
"luminance": 0.35342
}Semantic roles & 50–950 ramp
primary
#AFA15A
secondary
#A0A6C5
accent
#6FCB5D
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#13120C
muted
#82817D