#A1871F#A1871F

#A1871F is a light, moderate yellow. Relative luminance 0.250; OKLCH L 63.0% C 0.119 H 93.9°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A1871F
RGBrgb(161, 135, 31)
HSLhsl(48, 68%, 38%)
HSVhsv(48, 81%, 63%)
CMYKcmyk(0%, 16.1%, 80.7%, 36.9%)
CIE-LABlab(57.08, -0.69, 54.96)
CIE-LCHlch(57.08, 54.97, 90.72°)
OKLaboklab(62.98% -0.0081 0.1191)
OKLCHoklch(62.98% 0.119 93.9)
XYZxyz(23.6106, 25.0053, 4.8790)
Luminance0.2500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1871F #1F39A1
analogous
#A1461F #A1871F #7AA11F
triadic
#A1871F #1FA187 #871FA1
tetradic
#A1871F #1FA146 #1F39A1 #A11F7A
square
#A1871F #1FA146 #1F39A1 #A11F7A
split-complementary
#A1871F #1F7AA1 #461FA1
monochromatic
#3A310B #6E5C15 #A1871F #D4B229 #DFC55B

Accessibility & contrast

On white

3.50
#A1871F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#A1871F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A1871F
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1871F#FFFFFF#000000##000000
##A1871F1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968505
Deuteranopia (green-blind)
#9D8C26
Tritanopia (blue-blind)
#AF7B74
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a1871f;
/* rgb */ color: rgb(161, 135, 31);
/* oklch */ color: oklch(63.0% 0.119 93.9);
Tailwind
colors: {
  custom: {
    50: '#c1a964',
    500: '#a1871f',
    950: '#000000',
  },
}
SCSS
$custom: #a1871f;
$custom-light: #c1a964;
$custom-dark: #000000;
JSON
{
  "hex": "#a1871f",
  "rgb": {
    "r": 161,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 48,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62984,
    "c": 0.11939,
    "h": 93.9
  },
  "luminance": 0.25004
}

Semantic roles & 50–950 ramp

primary
#A1871F
secondary
#586EC4
accent
#60EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A1871F

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

Preview Lab → · Contrast checker → · Palette generator →

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