#A18E2F#A18E2F

#A18E2F is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.6% C 0.115 H 97.7°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A18E2F
RGBrgb(161, 142, 47)
HSLhsl(50, 55%, 41%)
HSVhsv(50, 71%, 63%)
CMYKcmyk(0%, 11.8%, 70.8%, 36.9%)
CIE-LABlab(59.09, -3.81, 50.85)
CIE-LCHlch(59.09, 50.99, 94.29°)
OKLaboklab(64.61% -0.0153 0.1136)
OKLCHoklch(64.61% 0.115 97.7)
XYZxyz(24.8852, 27.1295, 6.6145)
Luminance0.2713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18E2F #2F42A1
analogous
#A1552F #A18E2F #7BA12F
triadic
#A18E2F #2FA18E #8E2FA1
tetradic
#A18E2F #2FA155 #2F42A1 #A12F7B
square
#A18E2F #2FA155 #2F42A1 #A12F7B
split-complementary
#A18E2F #2F7BA1 #552FA1
monochromatic
#423A13 #726421 #A18E2F #C9B345 #D6C674

Accessibility & contrast

On white

3.27
#A18E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#A18E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18E2F
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18E2F#FFFFFF#000000##000000
##A18E2F1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B21
Deuteranopia (green-blind)
#A19134
Tritanopia (blue-blind)
#AE837B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a18e2f;
/* rgb */ color: rgb(161, 142, 47);
/* oklch */ color: oklch(64.6% 0.115 97.7);
Tailwind
colors: {
  custom: {
    50: '#c0ae6d',
    500: '#a18e2f',
    950: '#000000',
  },
}
SCSS
$custom: #a18e2f;
$custom-light: #c0ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a18e2f",
  "rgb": {
    "r": 161,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 50,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64609,
    "c": 0.11461,
    "h": 97.7
  },
  "luminance": 0.27128
}

Semantic roles & 50–950 ramp

primary
#A18E2F
secondary
#6E7BBE
accent
#62DE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A18E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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