#A1831A#A1831A

#A1831A is a light, moderate yellow. Relative luminance 0.239; OKLCH L 62.1% C 0.119 H 91.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A1831A
RGBrgb(161, 131, 26)
HSLhsl(47, 72%, 37%)
HSVhsv(47, 84%, 63%)
CMYKcmyk(0%, 18.6%, 83.9%, 36.9%)
CIE-LABlab(55.97, 1.36, 55.58)
CIE-LCHlch(55.97, 55.60, 88.60°)
OKLaboklab(62.1% -0.0028 0.1194)
OKLCHoklch(62.1% 0.119 91.3)
XYZxyz(23.0021, 23.8857, 4.3760)
Luminance0.2388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1831A #1A38A1
analogous
#A1401A #A1831A #7CA11A
triadic
#A1831A #1AA183 #831AA1
tetradic
#A1831A #1AA140 #1A38A1 #A11A7C
square
#A1831A #1AA140 #1A38A1 #A11A7C
split-complementary
#A1831A #1A7CA1 #401AA1
monochromatic
#382D09 #6C5811 #A1831A #D6AE23 #E3C352

Accessibility & contrast

On white

3.64
#A1831A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#A1831A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A1831A
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1831A#FFFFFF#000000##000000
##A1831A1.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#9A8A21
Tritanopia (blue-blind)
#AF7770
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a1831a;
/* rgb */ color: rgb(161, 131, 26);
/* oklch */ color: oklch(62.1% 0.119 91.3);
Tailwind
colors: {
  custom: {
    50: '#c1a662',
    500: '#a1831a',
    950: '#000000',
  },
}
SCSS
$custom: #a1831a;
$custom-light: #c1a662;
$custom-dark: #000000;
JSON
{
  "hex": "#a1831a",
  "rgb": {
    "r": 161,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 46.667,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62102,
    "c": 0.1194,
    "h": 91.3
  },
  "luminance": 0.23884
}

Semantic roles & 50–950 ramp

primary
#A1831A
secondary
#516BC6
accent
#61EF39
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A1831A

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

Preview Lab → · Contrast checker → · Palette generator →

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