#A1881F#A1881F

#A1881F is a light, vivid yellow. Relative luminance 0.253; OKLCH L 63.2% C 0.120 H 94.6°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A1881F
RGBrgb(161, 136, 31)
HSLhsl(48, 68%, 38%)
HSVhsv(48, 81%, 63%)
CMYKcmyk(0%, 15.5%, 80.7%, 36.9%)
CIE-LABlab(57.35, -1.24, 55.21)
CIE-LCHlch(57.35, 55.22, 91.29°)
OKLaboklab(63.2% -0.0097 0.1196)
OKLCHoklch(63.2% 0.12 94.6)
XYZxyz(23.7508, 25.2857, 4.9257)
Luminance0.2528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1881F #1F38A1
analogous
#A1471F #A1881F #79A11F
triadic
#A1881F #1FA188 #881FA1
tetradic
#A1881F #1FA147 #1F38A1 #A11F79
square
#A1881F #1FA147 #1F38A1 #A11F79
split-complementary
#A1881F #1F79A1 #471FA1
monochromatic
#3A310B #6E5D15 #A1881F #D4B329 #DFC65B

Accessibility & contrast

On white

3.47
#A1881F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#A1881F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A1881F
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1881F#FFFFFF#000000##000000
##A1881F1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978504
Deuteranopia (green-blind)
#9E8D26
Tritanopia (blue-blind)
#AF7C74
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a1881f;
/* rgb */ color: rgb(161, 136, 31);
/* oklch */ color: oklch(63.2% 0.120 94.6);
Tailwind
colors: {
  custom: {
    50: '#c1aa65',
    500: '#a1881f',
    950: '#000000',
  },
}
SCSS
$custom: #a1881f;
$custom-light: #c1aa65;
$custom-dark: #000000;
JSON
{
  "hex": "#a1881f",
  "rgb": {
    "r": 161,
    "g": 136,
    "b": 31
  },
  "hsl": {
    "h": 48.462,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63199,
    "c": 0.12002,
    "h": 94.6
  },
  "luminance": 0.25284
}

Semantic roles & 50–950 ramp

primary
#A1881F
secondary
#586DC4
accent
#5FEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A1881F

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

Preview Lab → · Contrast checker → · Palette generator →

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