#A18222#A18222

#A18222 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.9% C 0.115 H 89.8°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A18222
RGBrgb(161, 130, 34)
HSLhsl(45, 65%, 38%)
HSVhsv(45, 79%, 63%)
CMYKcmyk(0%, 19.3%, 78.9%, 36.9%)
CIE-LABlab(55.75, 2.20, 52.71)
CIE-LCHlch(55.75, 52.75, 87.61°)
OKLaboklab(61.93% 0.0004 0.1149)
OKLCHoklch(61.93% 0.115 89.8)
XYZxyz(22.9707, 23.6593, 4.8699)
Luminance0.2366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18222 #2241A1
analogous
#A14222 #A18222 #80A122
triadic
#A18222 #22A182 #8222A1
tetradic
#A18222 #22A142 #2241A1 #A12280
square
#A18222 #22A142 #2241A1 #A12280
split-complementary
#A18222 #2280A1 #4222A1
monochromatic
#3C300D #6E5917 #A18222 #D3AA2D #DDBF60

Accessibility & contrast

On white

3.66
#A18222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#A18222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18222
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18222#FFFFFF#000000##000000
##A182221.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810F
Deuteranopia (green-blind)
#998928
Tritanopia (blue-blind)
#AF7670
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a18222;
/* rgb */ color: rgb(161, 130, 34);
/* oklch */ color: oklch(61.9% 0.115 89.8);
Tailwind
colors: {
  custom: {
    50: '#c1a665',
    500: '#a18222',
    950: '#000000',
  },
}
SCSS
$custom: #a18222;
$custom-light: #c1a665;
$custom-dark: #000000;
JSON
{
  "hex": "#a18222",
  "rgb": {
    "r": 161,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 45.354,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61935,
    "c": 0.1149,
    "h": 89.8
  },
  "luminance": 0.23658
}

Semantic roles & 50–950 ramp

primary
#A18222
secondary
#5D75C2
accent
#69E840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A18222

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

Preview Lab → · Contrast checker → · Palette generator →

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