#A1831F#A1831F

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

Color values

HEX#A1831F
RGBrgb(161, 131, 31)
HSLhsl(46, 68%, 38%)
HSVhsv(46, 81%, 63%)
CMYKcmyk(0%, 18.6%, 80.7%, 36.9%)
CIE-LABlab(56.00, 1.53, 53.99)
CIE-LCHlch(56.00, 54.02, 88.38°)
OKLaboklab(62.13% -0.0018 0.117)
OKLCHoklch(62.13% 0.117 90.9)
XYZxyz(23.0629, 23.9101, 4.6964)
Luminance0.2391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1831F #1F3DA1
analogous
#A1421F #A1831F #7EA11F
triadic
#A1831F #1FA183 #831FA1
tetradic
#A1831F #1FA142 #1F3DA1 #A11F7E
square
#A1831F #1FA142 #1F3DA1 #A11F7E
split-complementary
#A1831F #1F7EA1 #421FA1
monochromatic
#3A2F0B #6E5915 #A1831F #D4AD29 #DFC15B

Accessibility & contrast

On white

3.63
#A1831F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1831F#FFFFFF#000000##000000
##A1831F1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a1831f;
/* rgb */ color: rgb(161, 131, 31);
/* oklch */ color: oklch(62.1% 0.117 90.9);
Tailwind
colors: {
  custom: {
    50: '#c1a664',
    500: '#a1831f',
    950: '#000000',
  },
}
SCSS
$custom: #a1831f;
$custom-light: #c1a664;
$custom-dark: #000000;
JSON
{
  "hex": "#a1831f",
  "rgb": {
    "r": 161,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 46.154,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62129,
    "c": 0.11702,
    "h": 90.9
  },
  "luminance": 0.23909
}

Semantic roles & 50–950 ramp

primary
#A1831F
secondary
#5871C4
accent
#65EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A1831F

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

Preview Lab → · Contrast checker → · Palette generator →

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