#A18321#A18321

#A18321 is a light, moderate yellow. Relative luminance 0.239; OKLCH L 62.1% C 0.116 H 90.7°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A18321
RGBrgb(161, 131, 33)
HSLhsl(46, 66%, 38%)
HSVhsv(46, 80%, 63%)
CMYKcmyk(0%, 18.6%, 79.5%, 36.9%)
CIE-LABlab(56.01, 1.60, 53.31)
CIE-LCHlch(56.01, 53.33, 88.28°)
OKLaboklab(62.14% -0.0014 0.116)
OKLCHoklch(62.14% 0.116 90.7)
XYZxyz(23.0901, 23.9209, 4.8396)
Luminance0.2392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18321 #213FA1
analogous
#A14321 #A18321 #7FA121
triadic
#A18321 #21A183 #8321A1
tetradic
#A18321 #21A143 #213FA1 #A1217F
square
#A18321 #21A143 #213FA1 #A1217F
split-complementary
#A18321 #217FA1 #4321A1
monochromatic
#3B300C #6E5A17 #A18321 #D4AC2C #DEC05E

Accessibility & contrast

On white

3.63
#A18321 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#A18321 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18321
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18321#FFFFFF#000000##000000
##A183211.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93810C
Deuteranopia (green-blind)
#9A8A27
Tritanopia (blue-blind)
#AF7770
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a18321;
/* rgb */ color: rgb(161, 131, 33);
/* oklch */ color: oklch(62.1% 0.116 90.7);
Tailwind
colors: {
  custom: {
    50: '#c1a665',
    500: '#a18321',
    950: '#000000',
  },
}
SCSS
$custom: #a18321;
$custom-light: #c1a665;
$custom-dark: #000000;
JSON
{
  "hex": "#a18321",
  "rgb": {
    "r": 161,
    "g": 131,
    "b": 33
  },
  "hsl": {
    "h": 45.938,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62141,
    "c": 0.11598,
    "h": 90.7
  },
  "luminance": 0.23919
}

Semantic roles & 50–950 ramp

primary
#A18321
secondary
#5B73C3
accent
#67E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A18321

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

Preview Lab → · Contrast checker → · Palette generator →

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