#A17F17#A17F17

#A17F17 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.2% C 0.119 H 88.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#A17F17
RGBrgb(161, 127, 23)
HSLhsl(45, 75%, 36%)
HSVhsv(45, 86%, 63%)
CMYKcmyk(0%, 21.1%, 85.7%, 36.9%)
CIE-LABlab(54.89, 3.50, 55.55)
CIE-LCHlch(54.89, 55.66, 86.39°)
OKLaboklab(61.24% 0.0031 0.1186)
OKLCHoklch(61.24% 0.119 88.5)
XYZxyz(22.4434, 22.8192, 4.0329)
Luminance0.2282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17F17 #1739A1
analogous
#A13A17 #A17F17 #7EA117
triadic
#A17F17 #17A17F #7F17A1
tetradic
#A17F17 #17A13A #1739A1 #A1177E
square
#A17F17 #17A13A #1739A1 #A1177E
split-complementary
#A17F17 #177EA1 #3A17A1
monochromatic
#362B08 #6B550F #A17F17 #D7A91F #E6C04D

Accessibility & contrast

On white

3.77
#A17F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#A17F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17F17
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17F17#FFFFFF#000000##000000
##A17F171.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#97871E
Tritanopia (blue-blind)
#AF736C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a17f17;
/* rgb */ color: rgb(161, 127, 23);
/* oklch */ color: oklch(61.2% 0.119 88.5);
Tailwind
colors: {
  custom: {
    50: '#c2a360',
    500: '#a17f17',
    950: '#000000',
  },
}
SCSS
$custom: #a17f17;
$custom-light: #c2a360;
$custom-dark: #000000;
JSON
{
  "hex": "#a17f17",
  "rgb": {
    "r": 161,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 45.217,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61241,
    "c": 0.11867,
    "h": 88.5
  },
  "luminance": 0.22818
}

Semantic roles & 50–950 ramp

primary
#A17F17
secondary
#4C6BC7
accent
#64F236
background
#FCFAF5
surface
#F8F3EA
border
#D1CDC6
text
#130F05
muted
#827F79

Preview Lab

Preview with #A17F17

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

Preview Lab → · Contrast checker → · Palette generator →

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