#A17F15#A17F15

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

Color values

HEX#A17F15
RGBrgb(161, 127, 21)
HSLhsl(45, 77%, 36%)
HSVhsv(45, 87%, 63%)
CMYKcmyk(0%, 21.1%, 87%, 36.9%)
CIE-LABlab(54.88, 3.45, 56.10)
CIE-LCHlch(54.88, 56.21, 86.48°)
OKLaboklab(61.23% 0.0027 0.1194)
OKLCHoklch(61.23% 0.119 88.7)
XYZxyz(22.4241, 22.8115, 3.9313)
Luminance0.2281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17F15 #1537A1
analogous
#A13915 #A17F15 #7DA115
triadic
#A17F15 #15A17F #7F15A1
tetradic
#A17F15 #15A139 #1537A1 #A1157D
square
#A17F15 #15A139 #1537A1 #A1157D
split-complementary
#A17F15 #157DA1 #3915A1
monochromatic
#352A07 #6B540E #A17F15 #D7AA1C #E7C149

Accessibility & contrast

On white

3.78
#A17F15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A17F15#FFFFFF#000000##000000
##A17F151.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)
#98871D
Tritanopia (blue-blind)
#AF736C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a17f15;
/* rgb */ color: rgb(161, 127, 21);
/* oklch */ color: oklch(61.2% 0.119 88.7);
Tailwind
colors: {
  custom: {
    50: '#c2a35f',
    500: '#a17f15',
    950: '#000000',
  },
}
SCSS
$custom: #a17f15;
$custom-light: #c2a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#a17f15",
  "rgb": {
    "r": 161,
    "g": 127,
    "b": 21
  },
  "hsl": {
    "h": 45.429,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61232,
    "c": 0.11944,
    "h": 88.7
  },
  "luminance": 0.2281
}

Semantic roles & 50–950 ramp

primary
#A17F15
secondary
#4968C8
accent
#63F334
background
#FCFAF5
surface
#F8F3EA
border
#D1CDC6
text
#130F05
muted
#827F79

Preview Lab

Preview with #A17F15

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

Preview Lab → · Contrast checker → · Palette generator →

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