#A18D1D#A18D1D

#A18D1D is a light, vivid yellow. Relative luminance 0.267; OKLCH L 64.3% C 0.124 H 98.3°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A18D1D
RGBrgb(161, 141, 29)
HSLhsl(51, 69%, 37%)
HSVhsv(51, 82%, 63%)
CMYKcmyk(0%, 12.4%, 82%, 36.9%)
CIE-LABlab(58.71, -4.06, 57.04)
CIE-LCHlch(58.71, 57.19, 94.07°)
OKLaboklab(64.27% -0.0179 0.1232)
OKLCHoklch(64.27% 0.124 98.3)
XYZxyz(24.4459, 26.7168, 5.0314)
Luminance0.2672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18D1D #1D31A1
analogous
#A14B1D #A18D1D #73A11D
triadic
#A18D1D #1DA18D #8D1DA1
tetradic
#A18D1D #1DA14B #1D31A1 #A11D73
square
#A18D1D #1DA14B #1D31A1 #A11D73
split-complementary
#A18D1D #1D73A1 #4B1DA1
monochromatic
#39320A #6D6014 #A18D1D #D5BA26 #E1CC58

Accessibility & contrast

On white

3.31
#A18D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#A18D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18D1D
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18D1D#FFFFFF#000000##000000
##A18D1D1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#A19026
Tritanopia (blue-blind)
#AE8279
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a18d1d;
/* rgb */ color: rgb(161, 141, 29);
/* oklch */ color: oklch(64.3% 0.124 98.3);
Tailwind
colors: {
  custom: {
    50: '#c1ad64',
    500: '#a18d1d',
    950: '#000000',
  },
}
SCSS
$custom: #a18d1d;
$custom-light: #c1ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#a18d1d",
  "rgb": {
    "r": 161,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 50.909,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64271,
    "c": 0.12446,
    "h": 98.3
  },
  "luminance": 0.26716
}

Semantic roles & 50–950 ramp

primary
#A18D1D
secondary
#5566C4
accent
#56EC3C
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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