#A18221#A18221

#A18221 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.9% C 0.115 H 89.9°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A18221
RGBrgb(161, 130, 33)
HSLhsl(45, 66%, 38%)
HSVhsv(45, 80%, 63%)
CMYKcmyk(0%, 19.3%, 79.5%, 36.9%)
CIE-LABlab(55.74, 2.16, 53.06)
CIE-LCHlch(55.74, 53.11, 87.67°)
OKLaboklab(61.93% 0.0002 0.1155)
OKLCHoklch(61.93% 0.115 89.9)
XYZxyz(22.9565, 23.6536, 4.7950)
Luminance0.2365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18221 #2140A1
analogous
#A14221 #A18221 #80A121
triadic
#A18221 #21A182 #8221A1
tetradic
#A18221 #21A142 #2140A1 #A12180
square
#A18221 #21A142 #2140A1 #A12180
split-complementary
#A18221 #2180A1 #4221A1
monochromatic
#3B300C #6E5917 #A18221 #D4AB2C #DEBF5E

Accessibility & contrast

On white

3.66
#A18221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#A18221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18221
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18221#FFFFFF#000000##000000
##A182211.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810D
Deuteranopia (green-blind)
#998927
Tritanopia (blue-blind)
#AF7670
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a18221;
/* rgb */ color: rgb(161, 130, 33);
/* oklch */ color: oklch(61.9% 0.115 89.9);
Tailwind
colors: {
  custom: {
    50: '#c1a565',
    500: '#a18221',
    950: '#000000',
  },
}
SCSS
$custom: #a18221;
$custom-light: #c1a565;
$custom-dark: #000000;
JSON
{
  "hex": "#a18221",
  "rgb": {
    "r": 161,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 45.469,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61929,
    "c": 0.11545,
    "h": 89.9
  },
  "luminance": 0.23652
}

Semantic roles & 50–950 ramp

primary
#A18221
secondary
#5B74C3
accent
#68E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A18221

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

Preview Lab → · Contrast checker → · Palette generator →

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