#A18D2D#A18D2D

#A18D2D is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.4% C 0.115 H 97.1°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A18D2D
RGBrgb(161, 141, 45)
HSLhsl(50, 56%, 40%)
HSVhsv(50, 72%, 63%)
CMYKcmyk(0%, 12.4%, 72%, 36.9%)
CIE-LABlab(58.80, -3.37, 51.38)
CIE-LCHlch(58.80, 51.49, 93.76°)
OKLaboklab(64.38% -0.0143 0.1143)
OKLCHoklch(64.38% 0.115 97.1)
XYZxyz(24.6977, 26.8175, 6.3575)
Luminance0.2682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18D2D #2D41A1
analogous
#A1532D #A18D2D #7BA12D
triadic
#A18D2D #2DA18D #8D2DA1
tetradic
#A18D2D #2DA153 #2D41A1 #A12D7B
square
#A18D2D #2DA153 #2D41A1 #A12D7B
split-complementary
#A18D2D #2D7BA1 #532DA1
monochromatic
#413912 #716320 #A18D2D #CAB241 #D7C671

Accessibility & contrast

On white

3.30
#A18D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#A18D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18D2D
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18D2D#FFFFFF#000000##000000
##A18D2D1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A1F
Deuteranopia (green-blind)
#A19033
Tritanopia (blue-blind)
#AE827A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a18d2d;
/* rgb */ color: rgb(161, 141, 45);
/* oklch */ color: oklch(64.4% 0.115 97.1);
Tailwind
colors: {
  custom: {
    50: '#c0ae6c',
    500: '#a18d2d',
    950: '#000000',
  },
}
SCSS
$custom: #a18d2d;
$custom-light: #c0ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a18d2d",
  "rgb": {
    "r": 161,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 49.655,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64375,
    "c": 0.11522,
    "h": 97.1
  },
  "luminance": 0.26816
}

Semantic roles & 50–950 ramp

primary
#A18D2D
secondary
#6B79BF
accent
#62E048
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A18D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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