#A18522#A18522

#A18522 is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.6% C 0.117 H 92.2°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A18522
RGBrgb(161, 133, 34)
HSLhsl(47, 65%, 38%)
HSVhsv(47, 79%, 63%)
CMYKcmyk(0%, 17.4%, 78.9%, 36.9%)
CIE-LABlab(56.55, 0.53, 53.45)
CIE-LCHlch(56.55, 53.45, 89.43°)
OKLaboklab(62.57% -0.0044 0.1165)
OKLCHoklch(62.57% 0.117 92.2)
XYZxyz(23.3756, 24.4691, 5.0049)
Luminance0.2447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18522 #223EA1
analogous
#A14622 #A18522 #7DA122
triadic
#A18522 #22A185 #8522A1
tetradic
#A18522 #22A146 #223EA1 #A1227D
square
#A18522 #22A146 #223EA1 #A1227D
split-complementary
#A18522 #227DA1 #4622A1
monochromatic
#3C320D #6E5B17 #A18522 #D3AE2D #DDC260

Accessibility & contrast

On white

3.56
#A18522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#A18522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18522
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18522#FFFFFF#000000##000000
##A185221.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830D
Deuteranopia (green-blind)
#9B8B28
Tritanopia (blue-blind)
#AF7972
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a18522;
/* rgb */ color: rgb(161, 133, 34);
/* oklch */ color: oklch(62.6% 0.117 92.2);
Tailwind
colors: {
  custom: {
    50: '#c1a866',
    500: '#a18522',
    950: '#000000',
  },
}
SCSS
$custom: #a18522;
$custom-light: #c1a866;
$custom-dark: #000000;
JSON
{
  "hex": "#a18522",
  "rgb": {
    "r": 161,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 46.772,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62573,
    "c": 0.11658,
    "h": 92.2
  },
  "luminance": 0.24468
}

Semantic roles & 50–950 ramp

primary
#A18522
secondary
#5D73C2
accent
#65E840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A18522

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

Preview Lab → · Contrast checker → · Palette generator →

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