#A18D2E#A18D2E

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

Color values

HEX#A18D2E
RGBrgb(161, 141, 46)
HSLhsl(50, 56%, 41%)
HSVhsv(50, 71%, 63%)
CMYKcmyk(0%, 12.4%, 71.4%, 36.9%)
CIE-LABlab(58.81, -3.32, 50.98)
CIE-LCHlch(58.81, 51.09, 93.73°)
OKLaboklab(64.38% -0.014 0.1137)
OKLCHoklch(64.38% 0.115 97)
XYZxyz(24.7172, 26.8253, 6.4601)
Luminance0.2682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18D2E #2E42A1
analogous
#A1532E #A18D2E #7BA12E
triadic
#A18D2E #2EA18D #8D2EA1
tetradic
#A18D2E #2EA153 #2E42A1 #A12E7B
square
#A18D2E #2EA153 #2E42A1 #A12E7B
split-complementary
#A18D2E #2E7BA1 #532EA1
monochromatic
#423A13 #716320 #A18D2E #C9B243 #D7C573

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A18D2E#FFFFFF#000000##000000
##A18D2E1.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)
#9B8A20
Deuteranopia (green-blind)
#A09033
Tritanopia (blue-blind)
#AE827A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a18d2e;
/* rgb */ color: rgb(161, 141, 46);
/* oklch */ color: oklch(64.4% 0.115 97.0);
Tailwind
colors: {
  custom: {
    50: '#c0ae6d',
    500: '#a18d2e',
    950: '#000000',
  },
}
SCSS
$custom: #a18d2e;
$custom-light: #c0ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a18d2e",
  "rgb": {
    "r": 161,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 49.565,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64384,
    "c": 0.11453,
    "h": 97
  },
  "luminance": 0.26824
}

Semantic roles & 50–950 ramp

primary
#A18D2E
secondary
#6C7BBE
accent
#63DF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A18D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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