#A1891C#A1891C

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

Color values

HEX#A1891C
RGBrgb(161, 137, 28)
HSLhsl(49, 70%, 37%)
HSVhsv(49, 83%, 63%)
CMYKcmyk(0%, 14.9%, 82.6%, 36.9%)
CIE-LABlab(57.61, -1.90, 56.39)
CIE-LCHlch(57.61, 56.42, 91.93°)
OKLaboklab(63.4% -0.0118 0.1216)
OKLCHoklch(63.4% 0.122 95.6)
XYZxyz(23.8545, 25.5536, 4.7743)
Luminance0.2555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1891C #1C34A1
analogous
#A1471C #A1891C #77A11C
triadic
#A1891C #1CA189 #891CA1
tetradic
#A1891C #1CA147 #1C34A1 #A11C77
square
#A1891C #1CA147 #1C34A1 #A11C77
split-complementary
#A1891C #1C77A1 #471CA1
monochromatic
#39300A #6D5D13 #A1891C #D5B525 #E2C856

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a1891c;
/* rgb */ color: rgb(161, 137, 28);
/* oklch */ color: oklch(63.4% 0.122 95.6);
Tailwind
colors: {
  custom: {
    50: '#c1ab63',
    500: '#a1891c',
    950: '#000000',
  },
}
SCSS
$custom: #a1891c;
$custom-light: #c1ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#a1891c",
  "rgb": {
    "r": 161,
    "g": 137,
    "b": 28
  },
  "hsl": {
    "h": 49.173,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63399,
    "c": 0.12213,
    "h": 95.6
  },
  "luminance": 0.25552
}

Semantic roles & 50–950 ramp

primary
#A1891C
secondary
#5468C5
accent
#5BED3B
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A1891C

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

Preview Lab → · Contrast checker → · Palette generator →

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