#AFA36A#AFA36A
#AFA36A is a light, moderate yellow. Relative luminance 0.363; OKLCH L 71.2% C 0.077 H 97.7°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA36A |
|---|---|
| RGB | rgb(175, 163, 106) |
| HSL | hsl(50, 30%, 55%) |
| HSV | hsv(50, 39%, 69%) |
| CMYK | cmyk(0%, 6.9%, 39.4%, 31.4%) |
| CIE-LAB | lab(66.79, -4.08, 31.19) |
| CIE-LCH | lch(66.79, 31.45, 97.45°) |
| OKLab | oklab(71.23% -0.0104 0.0766) |
| OKLCH | oklch(71.23% 0.077 97.7) |
| XYZ | xyz(33.3785, 36.3500, 18.8909) |
| Luminance | 0.3635 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 3.44
Sand
#C2B280
ΔE00 5.19
Sandy Brown
#C4A661
ΔE00 6.20
Sandstone
#C9AE74
ΔE00 6.38
Dark Khaki
#9B8F55
ΔE00 6.41
Darkkhaki
#BDB76B
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA36A #6A76AF
analogous
#AF806A #AFA36A #99AF6A
triadic
#AFA36A #6AAFA3 #A36AAF
tetradic
#AFA36A #6AAF80 #6A76AF #AF6A99
square
#AFA36A #6AAF80 #6A76AF #AF6A99
split-complementary
#AFA36A #6A99AF #806AAF
monochromatic
#675F37 #8F834D #AFA36A #C4BC92 #DAD4BA
Accessibility & contrast
On white
2.54
#AFA36A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.27
#AFA36A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA36A
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA36A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA36A | 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)
#AEA066
Deuteranopia (green-blind)
#B1A46C
Tritanopia (blue-blind)
#B99B95
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #afa36a; /* rgb */ color: rgb(175, 163, 106); /* oklch */ color: oklch(71.2% 0.077 97.7);
Tailwind
colors: {
custom: {
50: '#c8be95',
500: '#afa36a',
950: '#000000',
},
}SCSS
$custom: #afa36a; $custom-light: #c8be95; $custom-dark: #000000;
JSON
{
"hex": "#afa36a",
"rgb": {
"r": 175,
"g": 163,
"b": 106
},
"hsl": {
"h": 49.565,
"s": 30.131,
"l": 55.098
},
"oklch": {
"l": 0.71228,
"c": 0.07728,
"h": 97.7
},
"luminance": 0.36349
}Semantic roles & 50–950 ramp
primary
#AFA36A
secondary
#ACB1C9
accent
#73C661
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120D
muted
#82817E