#A17F16#A17F16
#A17F16 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.2% C 0.119 H 88.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #A17F16 |
|---|---|
| RGB | rgb(161, 127, 22) |
| HSL | hsl(45, 76%, 36%) |
| HSV | hsv(45, 86%, 63%) |
| CMYK | cmyk(0%, 21.1%, 86.3%, 36.9%) |
| CIE-LAB | lab(54.88, 3.47, 55.83) |
| CIE-LCH | lch(54.88, 55.94, 86.44°) |
| OKLab | oklab(61.24% 0.0029 0.119) |
| OKLCH | oklch(61.24% 0.119 88.6) |
| XYZ | xyz(22.4336, 22.8153, 3.9811) |
| Luminance | 0.2281 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Brown
#9B7A01
ΔE00 2.13
Diarrhea
#9F8303
ΔE00 2.78
Mustard Brown
#AC7E04
ΔE00 3.58
Puke Brown
#947706
ΔE00 3.74
Dark Mustard
#A88905
ΔE00 4.02
Bronze (survey)
#A87900
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17F16 #1638A1
analogous
#A13A16 #A17F16 #7DA116
triadic
#A17F16 #16A17F #7F16A1
tetradic
#A17F16 #16A13A #1638A1 #A1167D
square
#A17F16 #16A13A #1638A1 #A1167D
split-complementary
#A17F16 #167DA1 #3A16A1
monochromatic
#352A07 #6B550F #A17F16 #D7A91D #E6C04B
Accessibility & contrast
On white
3.78
#A17F16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#A17F16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17F16
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17F16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17F16 | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#98871E
Tritanopia (blue-blind)
#AF736C
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a17f16; /* rgb */ color: rgb(161, 127, 22); /* oklch */ color: oklch(61.2% 0.119 88.6);
Tailwind
colors: {
custom: {
50: '#c2a360',
500: '#a17f16',
950: '#000000',
},
}SCSS
$custom: #a17f16; $custom-light: #c2a360; $custom-dark: #000000;
JSON
{
"hex": "#a17f16",
"rgb": {
"r": 161,
"g": 127,
"b": 22
},
"hsl": {
"h": 45.324,
"s": 75.956,
"l": 35.882
},
"oklch": {
"l": 0.61236,
"c": 0.11906,
"h": 88.6
},
"luminance": 0.22814
}Semantic roles & 50–950 ramp
primary
#A17F16
secondary
#4B69C8
accent
#64F335
background
#FCFAF5
surface
#F8F3EA
border
#D1CDC6
text
#130F05
muted
#827F79