#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
RGBrgb(161, 127, 22)
HSLhsl(45, 76%, 36%)
HSVhsv(45, 86%, 63%)
CMYKcmyk(0%, 21.1%, 86.3%, 36.9%)
CIE-LABlab(54.88, 3.47, 55.83)
CIE-LCHlch(54.88, 55.94, 86.44°)
OKLaboklab(61.24% 0.0029 0.119)
OKLCHoklch(61.24% 0.119 88.6)
XYZxyz(22.4336, 22.8153, 3.9811)
Luminance0.2281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

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
##A17F161.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.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

Preview Lab

Preview with #A17F16

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A17F16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva