#A18A2F#A18A2F

#A18A2F is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.7% C 0.112 H 94.7°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A18A2F
RGBrgb(161, 138, 47)
HSLhsl(48, 55%, 41%)
HSVhsv(48, 71%, 63%)
CMYKcmyk(0%, 14.3%, 70.8%, 36.9%)
CIE-LABlab(58.00, -1.62, 49.74)
CIE-LCHlch(58.00, 49.77, 91.87°)
OKLaboklab(63.74% -0.0091 0.1112)
OKLCHoklch(63.74% 0.112 94.7)
XYZxyz(24.3007, 25.9606, 6.4197)
Luminance0.2596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18A2F #2F46A1
analogous
#A1512F #A18A2F #7FA12F
triadic
#A18A2F #2FA18A #8A2FA1
tetradic
#A18A2F #2FA151 #2F46A1 #A12F7F
square
#A18A2F #2FA151 #2F46A1 #A12F7F
split-complementary
#A18A2F #2F7FA1 #512FA1
monochromatic
#423913 #726121 #A18A2F #C9AE45 #D6C374

Accessibility & contrast

On white

3.39
#A18A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#A18A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18A2F
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18A2F#FFFFFF#000000##000000
##A18A2F1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988722
Deuteranopia (green-blind)
#9E8E34
Tritanopia (blue-blind)
#AE7F77
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a18a2f;
/* rgb */ color: rgb(161, 138, 47);
/* oklch */ color: oklch(63.7% 0.112 94.7);
Tailwind
colors: {
  custom: {
    50: '#c0ab6d',
    500: '#a18a2f',
    950: '#000000',
  },
}
SCSS
$custom: #a18a2f;
$custom-light: #c0ab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a18a2f",
  "rgb": {
    "r": 161,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 47.895,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.63743,
    "c": 0.11161,
    "h": 94.7
  },
  "luminance": 0.25959
}

Semantic roles & 50–950 ramp

primary
#A18A2F
secondary
#6E7EBE
accent
#68DE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A18A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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