#A18822#A18822

#A18822 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.2% C 0.118 H 94.4°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A18822
RGBrgb(161, 136, 34)
HSLhsl(48, 65%, 38%)
HSVhsv(48, 79%, 63%)
CMYKcmyk(0%, 15.5%, 78.9%, 36.9%)
CIE-LABlab(57.37, -1.13, 54.20)
CIE-LCHlch(57.37, 54.21, 91.19°)
OKLaboklab(63.22% -0.0091 0.1181)
OKLCHoklch(63.22% 0.118 94.4)
XYZxyz(23.7922, 25.3023, 5.1437)
Luminance0.2530 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18822 #223BA1
analogous
#A14822 #A18822 #7AA122
triadic
#A18822 #22A188 #8822A1
tetradic
#A18822 #22A148 #223BA1 #A1227A
square
#A18822 #22A148 #223BA1 #A1227A
split-complementary
#A18822 #227AA1 #4822A1
monochromatic
#3C330D #6E5D17 #A18822 #D3B22D #DDC560

Accessibility & contrast

On white

3.47
#A18822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#A18822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18822
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18822#FFFFFF#000000##000000
##A188221.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850C
Deuteranopia (green-blind)
#9D8D29
Tritanopia (blue-blind)
#AE7D75
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a18822;
/* rgb */ color: rgb(161, 136, 34);
/* oklch */ color: oklch(63.2% 0.118 94.4);
Tailwind
colors: {
  custom: {
    50: '#c1aa66',
    500: '#a18822',
    950: '#000000',
  },
}
SCSS
$custom: #a18822;
$custom-light: #c1aa66;
$custom-dark: #000000;
JSON
{
  "hex": "#a18822",
  "rgb": {
    "r": 161,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 48.189,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63217,
    "c": 0.11845,
    "h": 94.4
  },
  "luminance": 0.25301
}

Semantic roles & 50–950 ramp

primary
#A18822
secondary
#5D71C2
accent
#61E840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A18822

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

Preview Lab → · Contrast checker → · Palette generator →

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