#A18921#A18921

#A18921 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.120 H 95.2°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A18921
RGBrgb(161, 137, 33)
HSLhsl(49, 66%, 38%)
HSVhsv(49, 80%, 63%)
CMYKcmyk(0%, 14.9%, 79.5%, 36.9%)
CIE-LABlab(57.64, -1.72, 54.79)
CIE-LCHlch(57.64, 54.82, 91.80°)
OKLaboklab(63.43% -0.0109 0.1192)
OKLCHoklch(63.43% 0.12 95.2)
XYZxyz(23.9194, 25.5796, 5.1160)
Luminance0.2558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18921 #2139A1
analogous
#A14921 #A18921 #79A121
triadic
#A18921 #21A189 #8921A1
tetradic
#A18921 #21A149 #2139A1 #A12179
square
#A18921 #21A149 #2139A1 #A12179
split-complementary
#A18921 #2179A1 #4921A1
monochromatic
#3B330C #6E5E17 #A18921 #D4B42C #DEC65E

Accessibility & contrast

On white

3.43
#A18921 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#A18921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18921
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18921#FFFFFF#000000##000000
##A189211.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988608
Deuteranopia (green-blind)
#9E8E28
Tritanopia (blue-blind)
#AE7E75
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a18921;
/* rgb */ color: rgb(161, 137, 33);
/* oklch */ color: oklch(63.4% 0.120 95.2);
Tailwind
colors: {
  custom: {
    50: '#c1ab66',
    500: '#a18921',
    950: '#000000',
  },
}
SCSS
$custom: #a18921;
$custom-light: #c1ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#a18921",
  "rgb": {
    "r": 161,
    "g": 137,
    "b": 33
  },
  "hsl": {
    "h": 48.75,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63426,
    "c": 0.11966,
    "h": 95.2
  },
  "luminance": 0.25578
}

Semantic roles & 50–950 ramp

primary
#A18921
secondary
#5B6FC3
accent
#5FE93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18921

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

Preview Lab → · Contrast checker → · Palette generator →

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