#A18E2B#A18E2B

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

Color values

HEX#A18E2B
RGBrgb(161, 142, 43)
HSLhsl(50, 58%, 40%)
HSVhsv(50, 73%, 63%)
CMYKcmyk(0%, 11.8%, 73.3%, 36.9%)
CIE-LABlab(59.07, -4.02, 52.44)
CIE-LCHlch(59.07, 52.60, 94.38°)
OKLaboklab(64.58% -0.0164 0.1162)
OKLCHoklch(64.58% 0.117 98)
XYZxyz(24.8082, 27.0987, 6.2089)
Luminance0.2710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18E2B #2B3EA1
analogous
#A1532B #A18E2B #79A12B
triadic
#A18E2B #2BA18E #8E2BA1
tetradic
#A18E2B #2BA153 #2B3EA1 #A12B79
square
#A18E2B #2BA153 #2B3EA1 #A12B79
split-complementary
#A18E2B #2B79A1 #532BA1
monochromatic
#403911 #71631E #A18E2B #CBB53E #D8C76E

Accessibility & contrast

On white

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

On black

6.42
#A18E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18E2B
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18E2B#FFFFFF#000000##000000
##A18E2B1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A1B
Deuteranopia (green-blind)
#A19131
Tritanopia (blue-blind)
#AE837A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a18e2b;
/* rgb */ color: rgb(161, 142, 43);
/* oklch */ color: oklch(64.6% 0.117 98.0);
Tailwind
colors: {
  custom: {
    50: '#c0ae6b',
    500: '#a18e2b',
    950: '#000000',
  },
}
SCSS
$custom: #a18e2b;
$custom-light: #c0ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a18e2b",
  "rgb": {
    "r": 161,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 50.339,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.64577,
    "c": 0.11734,
    "h": 98
  },
  "luminance": 0.27097
}

Semantic roles & 50–950 ramp

primary
#A18E2B
secondary
#6977BF
accent
#60E147
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A18E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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