#A1871E#A1871E

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

Color values

HEX#A1871E
RGBrgb(161, 135, 30)
HSLhsl(48, 69%, 37%)
HSVhsv(48, 81%, 63%)
CMYKcmyk(0%, 16.1%, 81.4%, 36.9%)
CIE-LABlab(57.08, -0.73, 55.29)
CIE-LCHlch(57.08, 55.29, 90.75°)
OKLaboklab(62.98% -0.0083 0.1196)
OKLCHoklch(62.98% 0.12 94)
XYZxyz(23.5976, 25.0002, 4.8106)
Luminance0.2500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1871E #1E38A1
analogous
#A1461E #A1871E #79A11E
triadic
#A1871E #1EA187 #871EA1
tetradic
#A1871E #1EA146 #1E38A1 #A11E79
square
#A1871E #1EA146 #1E38A1 #A11E79
split-complementary
#A1871E #1E79A1 #461EA1
monochromatic
#3A300B #6D5C14 #A1871E #D5B228 #E0C559

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1871E#FFFFFF#000000##000000
##A1871E1.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)
#968402
Deuteranopia (green-blind)
#9D8C25
Tritanopia (blue-blind)
#AF7B74
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a1871e;
/* rgb */ color: rgb(161, 135, 30);
/* oklch */ color: oklch(63.0% 0.120 94.0);
Tailwind
colors: {
  custom: {
    50: '#c1a964',
    500: '#a1871e',
    950: '#000000',
  },
}
SCSS
$custom: #a1871e;
$custom-light: #c1a964;
$custom-dark: #000000;
JSON
{
  "hex": "#a1871e",
  "rgb": {
    "r": 161,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 48.092,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62978,
    "c": 0.11988,
    "h": 94
  },
  "luminance": 0.24999
}

Semantic roles & 50–950 ramp

primary
#A1871E
secondary
#576DC4
accent
#5FEB3C
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A1871E

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

Preview Lab → · Contrast checker → · Palette generator →

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