#A1811F#A1811F

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

Color values

HEX#A1811F
RGBrgb(161, 129, 31)
HSLhsl(45, 68%, 38%)
HSVhsv(45, 81%, 63%)
CMYKcmyk(0%, 19.9%, 80.7%, 36.9%)
CIE-LABlab(55.46, 2.64, 53.51)
CIE-LCHlch(55.46, 53.58, 87.17°)
OKLaboklab(61.71% 0.0013 0.116)
OKLCHoklch(61.71% 0.116 89.3)
XYZxyz(22.7969, 23.3780, 4.6078)
Luminance0.2338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1811F #1F3FA1
analogous
#A1401F #A1811F #80A11F
triadic
#A1811F #1FA181 #811FA1
tetradic
#A1811F #1FA140 #1F3FA1 #A11F80
square
#A1811F #1FA140 #1F3FA1 #A11F80
split-complementary
#A1811F #1F80A1 #401FA1
monochromatic
#3A2F0B #6E5815 #A1811F #D4AA29 #DFBF5B

Accessibility & contrast

On white

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

On black

5.68
#A1811F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A1811F
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1811F#FFFFFF#000000##000000
##A1811F1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918008
Deuteranopia (green-blind)
#998825
Tritanopia (blue-blind)
#AF756F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a1811f;
/* rgb */ color: rgb(161, 129, 31);
/* oklch */ color: oklch(61.7% 0.116 89.3);
Tailwind
colors: {
  custom: {
    50: '#c1a564',
    500: '#a1811f',
    950: '#000000',
  },
}
SCSS
$custom: #a1811f;
$custom-light: #c1a564;
$custom-dark: #000000;
JSON
{
  "hex": "#a1811f",
  "rgb": {
    "r": 161,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 45.231,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61705,
    "c": 0.11598,
    "h": 89.3
  },
  "luminance": 0.23377
}

Semantic roles & 50–950 ramp

primary
#A1811F
secondary
#5873C4
accent
#68EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A1811F

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

Preview Lab → · Contrast checker → · Palette generator →

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