#A1821D#A1821D

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

Color values

HEX#A1821D
RGBrgb(161, 130, 29)
HSLhsl(46, 69%, 37%)
HSVhsv(46, 82%, 63%)
CMYKcmyk(0%, 19.3%, 82%, 36.9%)
CIE-LABlab(55.72, 2.01, 54.41)
CIE-LCHlch(55.72, 54.45, 87.88°)
OKLaboklab(61.91% -0.0006 0.1175)
OKLCHoklch(61.91% 0.117 90.3)
XYZxyz(22.9037, 23.6325, 4.5173)
Luminance0.2363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1821D #1D3CA1
analogous
#A1401D #A1821D #7EA11D
triadic
#A1821D #1DA182 #821DA1
tetradic
#A1821D #1DA140 #1D3CA1 #A11D7E
square
#A1821D #1DA140 #1D3CA1 #A11D7E
split-complementary
#A1821D #1D7EA1 #401DA1
monochromatic
#392E0A #6D5814 #A1821D #D5AC26 #E1C158

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1821D#FFFFFF#000000##000000
##A1821D1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928003
Deuteranopia (green-blind)
#998924
Tritanopia (blue-blind)
#AF766F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a1821d;
/* rgb */ color: rgb(161, 130, 29);
/* oklch */ color: oklch(61.9% 0.117 90.3);
Tailwind
colors: {
  custom: {
    50: '#c1a563',
    500: '#a1821d',
    950: '#000000',
  },
}
SCSS
$custom: #a1821d;
$custom-light: #c1a563;
$custom-dark: #000000;
JSON
{
  "hex": "#a1821d",
  "rgb": {
    "r": 161,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 45.909,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61905,
    "c": 0.11748,
    "h": 90.3
  },
  "luminance": 0.23631
}

Semantic roles & 50–950 ramp

primary
#A1821D
secondary
#556FC4
accent
#65EC3C
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A1821D

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

Preview Lab → · Contrast checker → · Palette generator →

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