#A18223#A18223

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

Color values

HEX#A18223
RGBrgb(161, 130, 35)
HSLhsl(45, 64%, 38%)
HSVhsv(45, 78%, 63%)
CMYKcmyk(0%, 19.3%, 78.3%, 36.9%)
CIE-LABlab(55.75, 2.24, 52.34)
CIE-LCHlch(55.75, 52.39, 87.55°)
OKLaboklab(61.94% 0.0006 0.1143)
OKLCHoklch(61.94% 0.114 89.7)
XYZxyz(22.9853, 23.6652, 4.9470)
Luminance0.2366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18223 #2342A1
analogous
#A14323 #A18223 #81A123
triadic
#A18223 #23A182 #8223A1
tetradic
#A18223 #23A143 #2342A1 #A12381
square
#A18223 #23A143 #2342A1 #A12381
split-complementary
#A18223 #2381A1 #4323A1
monochromatic
#3C310D #6F5918 #A18223 #D2AA2F #DDBE62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A18223#FFFFFF#000000##000000
##A182231.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)
#928111
Deuteranopia (green-blind)
#998928
Tritanopia (blue-blind)
#AF7670
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a18223;
/* rgb */ color: rgb(161, 130, 35);
/* oklch */ color: oklch(61.9% 0.114 89.7);
Tailwind
colors: {
  custom: {
    50: '#c1a666',
    500: '#a18223',
    950: '#000000',
  },
}
SCSS
$custom: #a18223;
$custom-light: #c1a666;
$custom-dark: #000000;
JSON
{
  "hex": "#a18223",
  "rgb": {
    "r": 161,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 45.238,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61942,
    "c": 0.11434,
    "h": 89.7
  },
  "luminance": 0.23664
}

Semantic roles & 50–950 ramp

primary
#A18223
secondary
#5E77C2
accent
#6AE741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A18223

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

Preview Lab → · Contrast checker → · Palette generator →

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