#A18A22#A18A22

#A18A22 is a light, moderate 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#A18A22
RGBrgb(161, 138, 34)
HSLhsl(49, 65%, 38%)
HSVhsv(49, 79%, 63%)
CMYKcmyk(0%, 14.3%, 78.9%, 36.9%)
CIE-LABlab(57.91, -2.23, 54.70)
CIE-LCHlch(57.91, 54.74, 92.34°)
OKLaboklab(63.65% -0.0122 0.1192)
OKLCHoklch(63.65% 0.12 95.9)
XYZxyz(24.0765, 25.8709, 5.2385)
Luminance0.2587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18A22 #2239A1
analogous
#A14A22 #A18A22 #78A122
triadic
#A18A22 #22A18A #8A22A1
tetradic
#A18A22 #22A14A #2239A1 #A12278
square
#A18A22 #22A14A #2239A1 #A12278
split-complementary
#A18A22 #2278A1 #4A22A1
monochromatic
#3C330D #6E5F17 #A18A22 #D3B52D #DDC760

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A18A22#FFFFFF#000000##000000
##A18A221.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)
#99870B
Deuteranopia (green-blind)
#9F8E29
Tritanopia (blue-blind)
#AE7F76
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a18a22;
/* rgb */ color: rgb(161, 138, 34);
/* oklch */ color: oklch(63.6% 0.120 95.9);
Tailwind
colors: {
  custom: {
    50: '#c1ab66',
    500: '#a18a22',
    950: '#000000',
  },
}
SCSS
$custom: #a18a22;
$custom-light: #c1ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#a18a22",
  "rgb": {
    "r": 161,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 49.134,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63648,
    "c": 0.1198,
    "h": 95.9
  },
  "luminance": 0.2587
}

Semantic roles & 50–950 ramp

primary
#A18A22
secondary
#5D6FC2
accent
#5EE840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18A22

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

Preview Lab → · Contrast checker → · Palette generator →

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