#A1982B#A1982B

#A1982B is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.8% C 0.126 H 104.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#A1982B
RGBrgb(161, 152, 43)
HSLhsl(55, 58%, 40%)
HSVhsv(55, 73%, 63%)
CMYKcmyk(0%, 5.6%, 73.3%, 36.9%)
CIE-LABlab(61.83, -9.41, 55.13)
CIE-LCHlch(61.83, 55.93, 99.69°)
OKLaboklab(66.78% -0.0316 0.1219)
OKLCHoklch(66.78% 0.126 104.5)
XYZxyz(26.3633, 30.2090, 6.7273)
Luminance0.3021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1982B #2B34A1
analogous
#A15D2B #A1982B #6FA12B
triadic
#A1982B #2BA198 #982BA1
tetradic
#A1982B #2BA15D #2B34A1 #A12B6F
square
#A1982B #2BA15D #2B34A1 #A12B6F
split-complementary
#A1982B #2B6FA1 #5D2BA1
monochromatic
#403D11 #716A1E #A1982B #CBC13E #D8D06E

Accessibility & contrast

On white

2.98
#A1982B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#A1982B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1982B
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1982B#FFFFFF#000000##000000
##A1982B1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69318
Deuteranopia (green-blind)
#A99833
Tritanopia (blue-blind)
#AD8D83
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a1982b;
/* rgb */ color: rgb(161, 152, 43);
/* oklch */ color: oklch(66.8% 0.126 104.5);
Tailwind
colors: {
  custom: {
    50: '#c0b66c',
    500: '#a1982b',
    950: '#000000',
  },
}
SCSS
$custom: #a1982b;
$custom-light: #c0b66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a1982b",
  "rgb": {
    "r": 161,
    "g": 152,
    "b": 43
  },
  "hsl": {
    "h": 55.424,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.66776,
    "c": 0.12591,
    "h": 104.5
  },
  "luminance": 0.30208
}

Semantic roles & 50–950 ramp

primary
#A1982B
secondary
#696FBF
accent
#52E147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A1982B

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

Preview Lab → · Contrast checker → · Palette generator →

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