#A1891D#A1891D

#A1891D is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.122 H 95.5°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A1891D
RGBrgb(161, 137, 29)
HSLhsl(49, 69%, 37%)
HSVhsv(49, 82%, 63%)
CMYKcmyk(0%, 14.9%, 82%, 36.9%)
CIE-LABlab(57.62, -1.87, 56.08)
CIE-LCHlch(57.62, 56.12, 91.90°)
OKLaboklab(63.4% -0.0117 0.1211)
OKLCHoklch(63.4% 0.122 95.5)
XYZxyz(23.8667, 25.5585, 4.8383)
Luminance0.2556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1891D #1D35A1
analogous
#A1471D #A1891D #77A11D
triadic
#A1891D #1DA189 #891DA1
tetradic
#A1891D #1DA147 #1D35A1 #A11D77
square
#A1891D #1DA147 #1D35A1 #A11D77
split-complementary
#A1891D #1D77A1 #471DA1
monochromatic
#39310A #6D5D14 #A1891D #D5B526 #E1C858

Accessibility & contrast

On white

3.44
#A1891D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#A1891D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A1891D
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1891D#FFFFFF#000000##000000
##A1891D1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#9E8E25
Tritanopia (blue-blind)
#AF7D75
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a1891d;
/* rgb */ color: rgb(161, 137, 29);
/* oklch */ color: oklch(63.4% 0.122 95.5);
Tailwind
colors: {
  custom: {
    50: '#c1ab64',
    500: '#a1891d',
    950: '#000000',
  },
}
SCSS
$custom: #a1891d;
$custom-light: #c1ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#a1891d",
  "rgb": {
    "r": 161,
    "g": 137,
    "b": 29
  },
  "hsl": {
    "h": 49.091,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63404,
    "c": 0.12166,
    "h": 95.5
  },
  "luminance": 0.25557
}

Semantic roles & 50–950 ramp

primary
#A1891D
secondary
#556AC4
accent
#5CEC3C
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A1891D

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

Preview Lab → · Contrast checker → · Palette generator →

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