#A08B17#A08B17

#A08B17 is a light, vivid yellow. Relative luminance 0.260; OKLCH L 63.7% C 0.126 H 97.8°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A08B17
RGBrgb(160, 139, 23)
HSLhsl(51, 75%, 36%)
HSVhsv(51, 86%, 63%)
CMYKcmyk(0%, 13.1%, 85.6%, 37.3%)
CIE-LABlab(58.04, -3.61, 58.14)
CIE-LCHlch(58.04, 58.25, 93.55°)
OKLaboklab(63.71% -0.017 0.1244)
OKLCHoklch(63.71% 0.126 97.8)
XYZxyz(23.8858, 26.0020, 4.5712)
Luminance0.2600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A08B17 #172CA0
analogous
#A04617 #A08B17 #70A017
triadic
#A08B17 #17A08B #8B17A0
tetradic
#A08B17 #17A046 #172CA0 #A01770
square
#A08B17 #17A046 #172CA0 #A01770
split-complementary
#A08B17 #1770A0 #4617A0
monochromatic
#352E08 #6A5D0F #A08B17 #D6B91F #E5CE4C

Accessibility & contrast

On white

3.39
#A08B17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#A08B17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A08B17
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A08B17#FFFFFF#000000##000000
##A08B171.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#A08E21
Tritanopia (blue-blind)
#AD7F76
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a08b17;
/* rgb */ color: rgb(160, 139, 23);
/* oklch */ color: oklch(63.7% 0.126 97.8);
Tailwind
colors: {
  custom: {
    50: '#c0ac62',
    500: '#a08b17',
    950: '#000000',
  },
}
SCSS
$custom: #a08b17;
$custom-light: #c0ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#a08b17",
  "rgb": {
    "r": 160,
    "g": 139,
    "b": 23
  },
  "hsl": {
    "h": 50.803,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63708,
    "c": 0.12556,
    "h": 97.8
  },
  "luminance": 0.26001
}

Semantic roles & 50–950 ramp

primary
#A08B17
secondary
#4C5FC7
accent
#53F136
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A08B17

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

Preview Lab → · Contrast checker → · Palette generator →

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