#A18C22#A18C22

#A18C22 is a light, vivid yellow. Relative luminance 0.264; OKLCH L 64.1% C 0.121 H 97.3°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A18C22
RGBrgb(161, 140, 34)
HSLhsl(50, 65%, 38%)
HSVhsv(50, 79%, 63%)
CMYKcmyk(0%, 13%, 78.9%, 36.9%)
CIE-LABlab(58.46, -3.33, 55.20)
CIE-LCHlch(58.46, 55.30, 93.45°)
OKLaboklab(64.08% -0.0153 0.1202)
OKLCHoklch(64.08% 0.121 97.3)
XYZxyz(24.3660, 26.4500, 5.3350)
Luminance0.2645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18C22 #2237A1
analogous
#A14D22 #A18C22 #76A122
triadic
#A18C22 #22A18C #8C22A1
tetradic
#A18C22 #22A14D #2237A1 #A12276
square
#A18C22 #22A14D #2237A1 #A12276
split-complementary
#A18C22 #2276A1 #4D22A1
monochromatic
#3C340D #6E6017 #A18C22 #D3B72D #DDC960

Accessibility & contrast

On white

3.34
#A18C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#A18C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18C22
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18C22#FFFFFF#000000##000000
##A18C221.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8909
Deuteranopia (green-blind)
#A09029
Tritanopia (blue-blind)
#AE8178
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a18c22;
/* rgb */ color: rgb(161, 140, 34);
/* oklch */ color: oklch(64.1% 0.121 97.3);
Tailwind
colors: {
  custom: {
    50: '#c1ad66',
    500: '#a18c22',
    950: '#000000',
  },
}
SCSS
$custom: #a18c22;
$custom-light: #c1ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#a18c22",
  "rgb": {
    "r": 161,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 50.079,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64082,
    "c": 0.12121,
    "h": 97.3
  },
  "luminance": 0.26449
}

Semantic roles & 50–950 ramp

primary
#A18C22
secondary
#5D6DC2
accent
#5CE840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18C22

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

Preview Lab → · Contrast checker → · Palette generator →

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