#A17F19#A17F19

#A17F19 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.3% C 0.118 H 88.4°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A17F19
RGBrgb(161, 127, 25)
HSLhsl(45, 73%, 36%)
HSVhsv(45, 84%, 63%)
CMYKcmyk(0%, 21.1%, 84.5%, 36.9%)
CIE-LABlab(54.89, 3.56, 54.97)
CIE-LCHlch(54.89, 55.08, 86.29°)
OKLaboklab(61.25% 0.0034 0.1178)
OKLCHoklch(61.25% 0.118 88.4)
XYZxyz(22.4642, 22.8276, 4.1425)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17F19 #193BA1
analogous
#A13B19 #A17F19 #7FA119
triadic
#A17F19 #19A17F #7F19A1
tetradic
#A17F19 #19A13B #193BA1 #A1197F
square
#A17F19 #19A13B #193BA1 #A1197F
split-complementary
#A17F19 #197FA1 #3B19A1
monochromatic
#372B09 #6C5511 #A17F19 #D6A921 #E4BF50

Accessibility & contrast

On white

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

On black

5.57
#A17F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17F19
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17F19#FFFFFF#000000##000000
##A17F191.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a17f19;
/* rgb */ color: rgb(161, 127, 25);
/* oklch */ color: oklch(61.3% 0.118 88.4);
Tailwind
colors: {
  custom: {
    50: '#c1a361',
    500: '#a17f19',
    950: '#000000',
  },
}
SCSS
$custom: #a17f19;
$custom-light: #c1a361;
$custom-dark: #000000;
JSON
{
  "hex": "#a17f19",
  "rgb": {
    "r": 161,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 45,
    "s": 73.118,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6125,
    "c": 0.11784,
    "h": 88.4
  },
  "luminance": 0.22826
}

Semantic roles & 50–950 ramp

primary
#A17F19
secondary
#4F6DC6
accent
#66F038
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #A17F19

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

Preview Lab → · Contrast checker → · Palette generator →

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