#A1821B#A1821B

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

Color values

HEX#A1821B
RGBrgb(161, 130, 27)
HSLhsl(46, 71%, 37%)
HSVhsv(46, 83%, 63%)
CMYKcmyk(0%, 19.3%, 83.2%, 36.9%)
CIE-LABlab(55.71, 1.95, 55.05)
CIE-LCHlch(55.71, 55.08, 87.97°)
OKLaboklab(61.89% -0.001 0.1184)
OKLCHoklch(61.89% 0.118 90.5)
XYZxyz(22.8798, 23.6230, 4.3913)
Luminance0.2362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1821B #1B3AA1
analogous
#A13F1B #A1821B #7DA11B
triadic
#A1821B #1BA182 #821BA1
tetradic
#A1821B #1BA13F #1B3AA1 #A11B7D
square
#A1821B #1BA13F #1B3AA1 #A11B7D
split-complementary
#A1821B #1B7DA1 #3F1BA1
monochromatic
#382D09 #6D5812 #A1821B #D5AC24 #E2C154

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1821B#FFFFFF#000000##000000
##A1821B1.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)
#998922
Tritanopia (blue-blind)
#AF766F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a1821b;
/* rgb */ color: rgb(161, 130, 27);
/* oklch */ color: oklch(61.9% 0.118 90.5);
Tailwind
colors: {
  custom: {
    50: '#c1a562',
    500: '#a1821b',
    950: '#000000',
  },
}
SCSS
$custom: #a1821b;
$custom-light: #c1a562;
$custom-dark: #000000;
JSON
{
  "hex": "#a1821b",
  "rgb": {
    "r": 161,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 46.119,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61894,
    "c": 0.11842,
    "h": 90.5
  },
  "luminance": 0.23621
}

Semantic roles & 50–950 ramp

primary
#A1821B
secondary
#526DC5
accent
#63EE3A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A1821B

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

Preview Lab → · Contrast checker → · Palette generator →

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