#A18521#A18521

#A18521 is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.6% C 0.117 H 92.3°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A18521
RGBrgb(161, 133, 33)
HSLhsl(47, 66%, 38%)
HSVhsv(47, 80%, 63%)
CMYKcmyk(0%, 17.4%, 79.5%, 36.9%)
CIE-LABlab(56.55, 0.49, 53.80)
CIE-LCHlch(56.55, 53.80, 89.48°)
OKLaboklab(62.57% -0.0046 0.117)
OKLCHoklch(62.57% 0.117 92.3)
XYZxyz(23.3613, 24.4634, 4.9300)
Luminance0.2446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18521 #213DA1
analogous
#A14521 #A18521 #7DA121
triadic
#A18521 #21A185 #8521A1
tetradic
#A18521 #21A145 #213DA1 #A1217D
square
#A18521 #21A145 #213DA1 #A1217D
split-complementary
#A18521 #217DA1 #4521A1
monochromatic
#3B310C #6E5B17 #A18521 #D4AF2C #DEC25E

Accessibility & contrast

On white

3.56
#A18521 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#A18521 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18521
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18521#FFFFFF#000000##000000
##A185211.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830B
Deuteranopia (green-blind)
#9B8B27
Tritanopia (blue-blind)
#AF7972
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a18521;
/* rgb */ color: rgb(161, 133, 33);
/* oklch */ color: oklch(62.6% 0.117 92.3);
Tailwind
colors: {
  custom: {
    50: '#c1a865',
    500: '#a18521',
    950: '#000000',
  },
}
SCSS
$custom: #a18521;
$custom-light: #c1a865;
$custom-dark: #000000;
JSON
{
  "hex": "#a18521",
  "rgb": {
    "r": 161,
    "g": 133,
    "b": 33
  },
  "hsl": {
    "h": 46.875,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62567,
    "c": 0.11712,
    "h": 92.3
  },
  "luminance": 0.24462
}

Semantic roles & 50–950 ramp

primary
#A18521
secondary
#5B72C3
accent
#64E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A18521

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

Preview Lab → · Contrast checker → · Palette generator →

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