#A18B22#A18B22

#A18B22 is a light, vivid yellow. Relative luminance 0.262; OKLCH L 63.9% C 0.120 H 96.6°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A18B22
RGBrgb(161, 139, 34)
HSLhsl(50, 65%, 38%)
HSVhsv(50, 79%, 63%)
CMYKcmyk(0%, 13.7%, 78.9%, 36.9%)
CIE-LABlab(58.19, -2.78, 54.95)
CIE-LCHlch(58.19, 55.02, 92.90°)
OKLaboklab(63.87% -0.0138 0.1197)
OKLCHoklch(63.87% 0.121 96.6)
XYZxyz(24.2206, 26.1591, 5.2865)
Luminance0.2616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18B22 #2238A1
analogous
#A14B22 #A18B22 #77A122
triadic
#A18B22 #22A18B #8B22A1
tetradic
#A18B22 #22A14B #2238A1 #A12277
square
#A18B22 #22A14B #2238A1 #A12277
split-complementary
#A18B22 #2277A1 #4B22A1
monochromatic
#3C340D #6E5F17 #A18B22 #D3B62D #DDC860

Accessibility & contrast

On white

3.37
#A18B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#A18B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18B22
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18B22#FFFFFF#000000##000000
##A18B221.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A880A
Deuteranopia (green-blind)
#A08F29
Tritanopia (blue-blind)
#AE8077
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a18b22;
/* rgb */ color: rgb(161, 139, 34);
/* oklch */ color: oklch(63.9% 0.120 96.6);
Tailwind
colors: {
  custom: {
    50: '#c1ac66',
    500: '#a18b22',
    950: '#000000',
  },
}
SCSS
$custom: #a18b22;
$custom-light: #c1ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#a18b22",
  "rgb": {
    "r": 161,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 49.606,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63865,
    "c": 0.1205,
    "h": 96.6
  },
  "luminance": 0.26158
}

Semantic roles & 50–950 ramp

primary
#A18B22
secondary
#5D6EC2
accent
#5DE840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18B22

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

Preview Lab → · Contrast checker → · Palette generator →

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