#A1811B#A1811B

#A1811B is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.7% C 0.118 H 89.7°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#A1811B
RGBrgb(161, 129, 27)
HSLhsl(46, 71%, 37%)
HSVhsv(46, 83%, 63%)
CMYKcmyk(0%, 19.9%, 83.2%, 36.9%)
CIE-LABlab(55.44, 2.50, 54.81)
CIE-LCHlch(55.44, 54.87, 87.38°)
OKLaboklab(61.68% 0.0006 0.1179)
OKLCHoklch(61.68% 0.118 89.7)
XYZxyz(22.7474, 23.3582, 4.3472)
Luminance0.2336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1811B #1B3BA1
analogous
#A13E1B #A1811B #7EA11B
triadic
#A1811B #1BA181 #811BA1
tetradic
#A1811B #1BA13E #1B3BA1 #A11B7E
square
#A1811B #1BA13E #1B3BA1 #A11B7E
split-complementary
#A1811B #1B7EA1 #3E1BA1
monochromatic
#382D09 #6D5712 #A1811B #D5AB24 #E2C054

Accessibility & contrast

On white

3.70
#A1811B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#A1811B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A1811B
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1811B#FFFFFF#000000##000000
##A1811B1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#998822
Tritanopia (blue-blind)
#AF756E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a1811b;
/* rgb */ color: rgb(161, 129, 27);
/* oklch */ color: oklch(61.7% 0.118 89.7);
Tailwind
colors: {
  custom: {
    50: '#c1a562',
    500: '#a1811b',
    950: '#000000',
  },
}
SCSS
$custom: #a1811b;
$custom-light: #c1a562;
$custom-dark: #000000;
JSON
{
  "hex": "#a1811b",
  "rgb": {
    "r": 161,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 45.672,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61683,
    "c": 0.11791,
    "h": 89.7
  },
  "luminance": 0.23357
}

Semantic roles & 50–950 ramp

primary
#A1811B
secondary
#526EC5
accent
#65EE3A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A1811B

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

Preview Lab → · Contrast checker → · Palette generator →

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