#A18A21#A18A21

#A18A21 is a light, vivid yellow. Relative luminance 0.259; OKLCH L 63.6% C 0.120 H 95.9°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A18A21
RGBrgb(161, 138, 33)
HSLhsl(49, 66%, 38%)
HSVhsv(49, 80%, 63%)
CMYKcmyk(0%, 14.3%, 79.5%, 36.9%)
CIE-LABlab(57.91, -2.27, 55.04)
CIE-LCHlch(57.91, 55.08, 92.36°)
OKLaboklab(63.64% -0.0124 0.1197)
OKLCHoklch(63.64% 0.12 95.9)
XYZxyz(24.0622, 25.8652, 5.1636)
Luminance0.2586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18A21 #2138A1
analogous
#A14A21 #A18A21 #78A121
triadic
#A18A21 #21A18A #8A21A1
tetradic
#A18A21 #21A14A #2138A1 #A12178
square
#A18A21 #21A14A #2138A1 #A12178
split-complementary
#A18A21 #2178A1 #4A21A1
monochromatic
#3B330C #6E5E17 #A18A21 #D4B52C #DEC75E

Accessibility & contrast

On white

3.40
#A18A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#A18A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18A21
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18A21#FFFFFF#000000##000000
##A18A211.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998708
Deuteranopia (green-blind)
#9F8E28
Tritanopia (blue-blind)
#AE7F76
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a18a21;
/* rgb */ color: rgb(161, 138, 33);
/* oklch */ color: oklch(63.6% 0.120 95.9);
Tailwind
colors: {
  custom: {
    50: '#c1ab66',
    500: '#a18a21',
    950: '#000000',
  },
}
SCSS
$custom: #a18a21;
$custom-light: #c1ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#a18a21",
  "rgb": {
    "r": 161,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 49.219,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63642,
    "c": 0.12033,
    "h": 95.9
  },
  "luminance": 0.25864
}

Semantic roles & 50–950 ramp

primary
#A18A21
secondary
#5B6EC3
accent
#5DE93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18A21

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

Preview Lab → · Contrast checker → · Palette generator →

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