#A1891B#A1891B

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

Color values

HEX#A1891B
RGBrgb(161, 137, 27)
HSLhsl(49, 71%, 37%)
HSVhsv(49, 83%, 63%)
CMYKcmyk(0%, 14.9%, 83.2%, 36.9%)
CIE-LABlab(57.61, -1.93, 56.69)
CIE-LCHlch(57.61, 56.72, 91.95°)
OKLaboklab(63.39% -0.012 0.122)
OKLCHoklch(63.39% 0.123 95.6)
XYZxyz(23.8428, 25.5489, 4.7123)
Luminance0.2555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1891B #1B33A1
analogous
#A1461B #A1891B #76A11B
triadic
#A1891B #1BA189 #891BA1
tetradic
#A1891B #1BA146 #1B33A1 #A11B76
square
#A1891B #1BA146 #1B33A1 #A11B76
split-complementary
#A1891B #1B76A1 #461BA1
monochromatic
#383009 #6D5C12 #A1891B #D5B624 #E2C954

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1891B#FFFFFF#000000##000000
##A1891B1.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)
#9E8E23
Tritanopia (blue-blind)
#AF7D75
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a1891b;
/* rgb */ color: rgb(161, 137, 27);
/* oklch */ color: oklch(63.4% 0.123 95.6);
Tailwind
colors: {
  custom: {
    50: '#c1ab63',
    500: '#a1891b',
    950: '#000000',
  },
}
SCSS
$custom: #a1891b;
$custom-light: #c1ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#a1891b",
  "rgb": {
    "r": 161,
    "g": 137,
    "b": 27
  },
  "hsl": {
    "h": 49.254,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63394,
    "c": 0.12258,
    "h": 95.6
  },
  "luminance": 0.25548
}

Semantic roles & 50–950 ramp

primary
#A1891B
secondary
#5267C5
accent
#5AEE3A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A1891B

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

Preview Lab → · Contrast checker → · Palette generator →

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