#A18D22#A18D22

#A18D22 is a light, vivid yellow. Relative luminance 0.267; OKLCH L 64.3% C 0.122 H 98.0°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A18D22
RGBrgb(161, 141, 34)
HSLhsl(51, 65%, 38%)
HSVhsv(51, 79%, 63%)
CMYKcmyk(0%, 12.4%, 78.9%, 36.9%)
CIE-LABlab(58.74, -3.87, 55.45)
CIE-LCHlch(58.74, 55.58, 94.00°)
OKLaboklab(64.3% -0.0169 0.1208)
OKLCHoklch(64.3% 0.122 98)
XYZxyz(24.5128, 26.7436, 5.3839)
Luminance0.2674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18D22 #2236A1
analogous
#A14D22 #A18D22 #75A122
triadic
#A18D22 #22A18D #8D22A1
tetradic
#A18D22 #22A14D #2236A1 #A12275
square
#A18D22 #22A14D #2236A1 #A12275
split-complementary
#A18D22 #2275A1 #4D22A1
monochromatic
#3C340D #6E6117 #A18D22 #D3B92D #DDCA60

Accessibility & contrast

On white

3.31
#A18D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#A18D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18D22
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18D22#FFFFFF#000000##000000
##A18D221.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8909
Deuteranopia (green-blind)
#A1902A
Tritanopia (blue-blind)
#AE8279
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a18d22;
/* rgb */ color: rgb(161, 141, 34);
/* oklch */ color: oklch(64.3% 0.122 98.0);
Tailwind
colors: {
  custom: {
    50: '#c1ae67',
    500: '#a18d22',
    950: '#000000',
  },
}
SCSS
$custom: #a18d22;
$custom-light: #c1ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#a18d22",
  "rgb": {
    "r": 161,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 50.551,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64299,
    "c": 0.12196,
    "h": 98
  },
  "luminance": 0.26742
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A18D22

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

Preview Lab → · Contrast checker → · Palette generator →

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