#A18218#A18218

#A18218 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.9% C 0.120 H 90.7°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A18218
RGBrgb(161, 130, 24)
HSLhsl(46, 74%, 36%)
HSVhsv(46, 85%, 63%)
CMYKcmyk(0%, 19.3%, 85.1%, 36.9%)
CIE-LABlab(55.70, 1.85, 55.94)
CIE-LCHlch(55.70, 55.97, 88.10°)
OKLaboklab(61.88% -0.0015 0.1197)
OKLCHoklch(61.88% 0.12 90.7)
XYZxyz(22.8469, 23.6098, 4.2178)
Luminance0.2361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18218 #1837A1
analogous
#A13E18 #A18218 #7CA118
triadic
#A18218 #18A182 #8218A1
tetradic
#A18218 #18A13E #1837A1 #A1187C
square
#A18218 #18A13E #1837A1 #A1187C
split-complementary
#A18218 #187CA1 #3E18A1
monochromatic
#362C08 #6C5710 #A18218 #D6AD20 #E5C34F

Accessibility & contrast

On white

3.67
#A18218 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#A18218 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18218
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18218#FFFFFF#000000##000000
##A182181.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#9A8920
Tritanopia (blue-blind)
#AF766F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a18218;
/* rgb */ color: rgb(161, 130, 24);
/* oklch */ color: oklch(61.9% 0.120 90.7);
Tailwind
colors: {
  custom: {
    50: '#c1a561',
    500: '#a18218',
    950: '#000000',
  },
}
SCSS
$custom: #a18218;
$custom-light: #c1a561;
$custom-dark: #000000;
JSON
{
  "hex": "#a18218",
  "rgb": {
    "r": 161,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 46.423,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6188,
    "c": 0.11972,
    "h": 90.7
  },
  "luminance": 0.23608
}

Semantic roles & 50–950 ramp

primary
#A18218
secondary
#4E69C7
accent
#61F137
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #A18218

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

Preview Lab → · Contrast checker → · Palette generator →

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