#A08017#A08017

#A08017 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.3% C 0.119 H 89.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#A08017
RGBrgb(160, 128, 23)
HSLhsl(46, 75%, 36%)
HSVhsv(46, 86%, 63%)
CMYKcmyk(0%, 20%, 85.6%, 37.3%)
CIE-LABlab(55.05, 2.48, 55.64)
CIE-LCHlch(55.05, 55.70, 87.45°)
OKLaboklab(61.34% 0.0002 0.1189)
OKLCHoklch(61.34% 0.119 89.9)
XYZxyz(22.3724, 22.9753, 4.0668)
Luminance0.2297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A08017 #1737A0
analogous
#A03B17 #A08017 #7BA017
triadic
#A08017 #17A080 #8017A0
tetradic
#A08017 #17A03B #1737A0 #A0177B
square
#A08017 #17A03B #1737A0 #A0177B
split-complementary
#A08017 #177BA0 #3B17A0
monochromatic
#352A08 #6A550F #A08017 #D6AB1F #E5C24C

Accessibility & contrast

On white

3.75
#A08017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#A08017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A08017
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A08017#FFFFFF#000000##000000
##A080171.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#98871F
Tritanopia (blue-blind)
#AE746D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a08017;
/* rgb */ color: rgb(160, 128, 23);
/* oklch */ color: oklch(61.3% 0.119 89.9);
Tailwind
colors: {
  custom: {
    50: '#c1a460',
    500: '#a08017',
    950: '#000000',
  },
}
SCSS
$custom: #a08017;
$custom-light: #c1a460;
$custom-dark: #000000;
JSON
{
  "hex": "#a08017",
  "rgb": {
    "r": 160,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 45.985,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61343,
    "c": 0.11889,
    "h": 89.9
  },
  "luminance": 0.22974
}

Semantic roles & 50–950 ramp

primary
#A08017
secondary
#4C69C7
accent
#62F136
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #A08017

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

Preview Lab → · Contrast checker → · Palette generator →

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