#A18017#A18017

#A18017 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.5% C 0.119 H 89.3°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#A18017
RGBrgb(161, 128, 23)
HSLhsl(46, 75%, 36%)
HSVhsv(46, 86%, 63%)
CMYKcmyk(0%, 20.5%, 85.7%, 36.9%)
CIE-LABlab(55.15, 2.94, 55.77)
CIE-LCHlch(55.15, 55.85, 86.98°)
OKLaboklab(61.45% 0.0015 0.1191)
OKLCHoklch(61.45% 0.119 89.3)
XYZxyz(22.5732, 23.0788, 4.0762)
Luminance0.2308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18017 #1738A1
analogous
#A13B17 #A18017 #7DA117
triadic
#A18017 #17A180 #8017A1
tetradic
#A18017 #17A13B #1738A1 #A1177D
square
#A18017 #17A13B #1738A1 #A1177D
split-complementary
#A18017 #177DA1 #3B17A1
monochromatic
#362B08 #6B550F #A18017 #D7AB1F #E6C14D

Accessibility & contrast

On white

3.74
#A18017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#A18017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18017
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18017#FFFFFF#000000##000000
##A180171.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a18017;
/* rgb */ color: rgb(161, 128, 23);
/* oklch */ color: oklch(61.5% 0.119 89.3);
Tailwind
colors: {
  custom: {
    50: '#c1a460',
    500: '#a18017',
    950: '#000000',
  },
}
SCSS
$custom: #a18017;
$custom-light: #c1a460;
$custom-dark: #000000;
JSON
{
  "hex": "#a18017",
  "rgb": {
    "r": 161,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 45.652,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61452,
    "c": 0.11913,
    "h": 89.3
  },
  "luminance": 0.23077
}

Semantic roles & 50–950 ramp

primary
#A18017
secondary
#4C6AC7
accent
#63F236
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #A18017

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

Preview Lab → · Contrast checker → · Palette generator →

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