#A1981C#A1981C

#A1981C is a light, vivid yellow. Relative luminance 0.301; OKLCH L 66.7% C 0.134 H 105.0°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#A1981C
RGBrgb(161, 152, 28)
HSLhsl(56, 70%, 37%)
HSVhsv(56, 83%, 63%)
CMYKcmyk(0%, 5.6%, 82.6%, 36.9%)
CIE-LABlab(61.76, -10.01, 59.97)
CIE-LCHlch(61.76, 60.80, 99.48°)
OKLaboklab(66.69% -0.0346 0.1293)
OKLCHoklch(66.69% 0.134 105)
XYZxyz(26.1370, 30.1184, 5.5351)
Luminance0.3012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1981C #1C25A1
analogous
#A1561C #A1981C #68A11C
triadic
#A1981C #1CA198 #981CA1
tetradic
#A1981C #1CA156 #1C25A1 #A11C68
square
#A1981C #1CA156 #1C25A1 #A11C68
split-complementary
#A1981C #1C68A1 #561CA1
monochromatic
#39360A #6D6713 #A1981C #D5C925 #E2D856

Accessibility & contrast

On white

2.99
#A1981C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#A1981C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1981C
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1981C#FFFFFF#000000##000000
##A1981C1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A99727
Tritanopia (blue-blind)
#AE8D82
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a1981c;
/* rgb */ color: rgb(161, 152, 28);
/* oklch */ color: oklch(66.7% 0.134 105.0);
Tailwind
colors: {
  custom: {
    50: '#c1b665',
    500: '#a1981c',
    950: '#000000',
  },
}
SCSS
$custom: #a1981c;
$custom-light: #c1b665;
$custom-dark: #000000;
JSON
{
  "hex": "#a1981c",
  "rgb": {
    "r": 161,
    "g": 152,
    "b": 28
  },
  "hsl": {
    "h": 55.94,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.66689,
    "c": 0.13388,
    "h": 105
  },
  "luminance": 0.30117
}

Semantic roles & 50–950 ramp

primary
#A1981C
secondary
#545CC5
accent
#47ED3B
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #A1981C

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

Preview Lab → · Contrast checker → · Palette generator →

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