#A1891F#A1891F

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

Color values

HEX#A1891F
RGBrgb(161, 137, 31)
HSLhsl(49, 68%, 38%)
HSVhsv(49, 81%, 63%)
CMYKcmyk(0%, 14.9%, 80.7%, 36.9%)
CIE-LABlab(57.63, -1.79, 55.45)
CIE-LCHlch(57.63, 55.48, 91.85°)
OKLaboklab(63.42% -0.0113 0.1202)
OKLCHoklch(63.42% 0.121 95.4)
XYZxyz(23.8923, 25.5687, 4.9729)
Luminance0.2557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1891F #1F37A1
analogous
#A1481F #A1891F #78A11F
triadic
#A1891F #1FA189 #891FA1
tetradic
#A1891F #1FA148 #1F37A1 #A11F78
square
#A1891F #1FA148 #1F37A1 #A11F78
split-complementary
#A1891F #1F78A1 #481FA1
monochromatic
#3A320B #6E5D15 #A1891F #D4B529 #DFC75B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1891F#FFFFFF#000000##000000
##A1891F1.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)
#988603
Deuteranopia (green-blind)
#9E8E26
Tritanopia (blue-blind)
#AE7E75
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a1891f;
/* rgb */ color: rgb(161, 137, 31);
/* oklch */ color: oklch(63.4% 0.121 95.4);
Tailwind
colors: {
  custom: {
    50: '#c1ab65',
    500: '#a1891f',
    950: '#000000',
  },
}
SCSS
$custom: #a1891f;
$custom-light: #c1ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#a1891f",
  "rgb": {
    "r": 161,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 48.923,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63415,
    "c": 0.12068,
    "h": 95.4
  },
  "luminance": 0.25567
}

Semantic roles & 50–950 ramp

primary
#A1891F
secondary
#586CC4
accent
#5DEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A1891F

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

Preview Lab → · Contrast checker → · Palette generator →

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