#A18215#A18215

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

Color values

HEX#A18215
RGBrgb(161, 130, 21)
HSLhsl(47, 77%, 36%)
HSVhsv(47, 87%, 63%)
CMYKcmyk(0%, 19.3%, 87%, 36.9%)
CIE-LABlab(55.68, 1.77, 56.76)
CIE-LCHlch(55.68, 56.79, 88.21°)
OKLaboklab(61.87% -0.002 0.1209)
OKLCHoklch(61.87% 0.121 91)
XYZxyz(22.8174, 23.5980, 4.0624)
Luminance0.2360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18215 #1534A1
analogous
#A13C15 #A18215 #7AA115
triadic
#A18215 #15A182 #8215A1
tetradic
#A18215 #15A13C #1534A1 #A1157A
square
#A18215 #15A13C #1534A1 #A1157A
split-complementary
#A18215 #157AA1 #3C15A1
monochromatic
#352B07 #6B560E #A18215 #D7AE1C #E7C449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A18215#FFFFFF#000000##000000
##A182151.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)
#9A891E
Tritanopia (blue-blind)
#AF766F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a18215;
/* rgb */ color: rgb(161, 130, 21);
/* oklch */ color: oklch(61.9% 0.121 91.0);
Tailwind
colors: {
  custom: {
    50: '#c1a560',
    500: '#a18215',
    950: '#000000',
  },
}
SCSS
$custom: #a18215;
$custom-light: #c1a560;
$custom-dark: #000000;
JSON
{
  "hex": "#a18215",
  "rgb": {
    "r": 161,
    "g": 130,
    "b": 21
  },
  "hsl": {
    "h": 46.714,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61867,
    "c": 0.1209,
    "h": 91
  },
  "luminance": 0.23596
}

Semantic roles & 50–950 ramp

primary
#A18215
secondary
#4965C8
accent
#5FF334
background
#FCFAF5
surface
#F8F4EA
border
#D1CEC6
text
#130F05
muted
#827F79

Preview Lab

Preview with #A18215

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

Preview Lab → · Contrast checker → · Palette generator →

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