#A1851B#A1851B

#A1851B is a light, vivid yellow. Relative luminance 0.244; OKLCH L 62.5% C 0.120 H 92.8°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A1851B
RGBrgb(161, 133, 27)
HSLhsl(47, 71%, 37%)
HSVhsv(47, 83%, 63%)
CMYKcmyk(0%, 17.4%, 83.2%, 36.9%)
CIE-LABlab(56.52, 0.28, 55.75)
CIE-LCHlch(56.52, 55.75, 89.71°)
OKLaboklab(62.53% -0.0058 0.1199)
OKLCHoklch(62.53% 0.12 92.8)
XYZxyz(23.2847, 24.4327, 4.5263)
Luminance0.2443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1851B #1B37A1
analogous
#A1421B #A1851B #7AA11B
triadic
#A1851B #1BA185 #851BA1
tetradic
#A1851B #1BA142 #1B37A1 #A11B7A
square
#A1851B #1BA142 #1B37A1 #A11B7A
split-complementary
#A1851B #1B7AA1 #421BA1
monochromatic
#382E09 #6D5A12 #A1851B #D5B024 #E2C554

Accessibility & contrast

On white

3.57
#A1851B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#A1851B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A1851B
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1851B#FFFFFF#000000##000000
##A1851B1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#9C8B23
Tritanopia (blue-blind)
#AF7972
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a1851b;
/* rgb */ color: rgb(161, 133, 27);
/* oklch */ color: oklch(62.5% 0.120 92.8);
Tailwind
colors: {
  custom: {
    50: '#c1a862',
    500: '#a1851b',
    950: '#000000',
  },
}
SCSS
$custom: #a1851b;
$custom-light: #c1a862;
$custom-dark: #000000;
JSON
{
  "hex": "#a1851b",
  "rgb": {
    "r": 161,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 47.463,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62534,
    "c": 0.12008,
    "h": 92.8
  },
  "luminance": 0.24431
}

Semantic roles & 50–950 ramp

primary
#A1851B
secondary
#526AC5
accent
#5FEE3A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A1851B

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

Preview Lab → · Contrast checker → · Palette generator →

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