#A18217#A18217

#A18217 is a mid, vivid yellow. Relative luminance 0.236; OKLCH L 61.9% C 0.120 H 90.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A18217
RGBrgb(161, 130, 23)
HSLhsl(47, 75%, 36%)
HSVhsv(47, 86%, 63%)
CMYKcmyk(0%, 19.3%, 85.7%, 36.9%)
CIE-LABlab(55.69, 1.83, 56.22)
CIE-LCHlch(55.69, 56.25, 88.14°)
OKLaboklab(61.88% -0.0017 0.1201)
OKLCHoklch(61.88% 0.12 90.8)
XYZxyz(22.8367, 23.6057, 4.1640)
Luminance0.2360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18217 #1736A1
analogous
#A13D17 #A18217 #7BA117
triadic
#A18217 #17A182 #8217A1
tetradic
#A18217 #17A13D #1736A1 #A1177B
square
#A18217 #17A13D #1736A1 #A1177B
split-complementary
#A18217 #177BA1 #3D17A1
monochromatic
#362C08 #6B570F #A18217 #D7AD1F #E6C34D

Accessibility & contrast

On white

3.67
#A18217 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#A18217 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18217
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18217#FFFFFF#000000##000000
##A182171.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#9A891F
Tritanopia (blue-blind)
#AF766F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a18217;
/* rgb */ color: rgb(161, 130, 23);
/* oklch */ color: oklch(61.9% 0.120 90.8);
Tailwind
colors: {
  custom: {
    50: '#c1a560',
    500: '#a18217',
    950: '#000000',
  },
}
SCSS
$custom: #a18217;
$custom-light: #c1a560;
$custom-dark: #000000;
JSON
{
  "hex": "#a18217",
  "rgb": {
    "r": 161,
    "g": 130,
    "b": 23
  },
  "hsl": {
    "h": 46.522,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61875,
    "c": 0.12012,
    "h": 90.8
  },
  "luminance": 0.23604
}

Semantic roles & 50–950 ramp

primary
#A18217
secondary
#4C68C7
accent
#60F236
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #A18217

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

Preview Lab → · Contrast checker → · Palette generator →

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