#A18818#A18818

#A18818 is a light, vivid yellow. Relative luminance 0.253; OKLCH L 63.2% C 0.123 H 95.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#A18818
RGBrgb(161, 136, 24)
HSLhsl(49, 74%, 36%)
HSVhsv(49, 85%, 63%)
CMYKcmyk(0%, 15.5%, 85.1%, 36.9%)
CIE-LABlab(57.32, -1.47, 57.31)
CIE-LCHlch(57.32, 57.33, 91.47°)
OKLaboklab(63.16% -0.011 0.1227)
OKLCHoklch(63.16% 0.123 95.1)
XYZxyz(23.6683, 25.2527, 4.4916)
Luminance0.2525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18818 #1831A1
analogous
#A14418 #A18818 #76A118
triadic
#A18818 #18A188 #8818A1
tetradic
#A18818 #18A144 #1831A1 #A11876
square
#A18818 #18A144 #1831A1 #A11876
split-complementary
#A18818 #1876A1 #4418A1
monochromatic
#362E08 #6C5B10 #A18818 #D6B520 #E5C94F

Accessibility & contrast

On white

3.47
#A18818 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#A18818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18818
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18818#FFFFFF#000000##000000
##A188181.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#9E8D21
Tritanopia (blue-blind)
#AF7C74
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a18818;
/* rgb */ color: rgb(161, 136, 24);
/* oklch */ color: oklch(63.2% 0.123 95.1);
Tailwind
colors: {
  custom: {
    50: '#c1aa62',
    500: '#a18818',
    950: '#000000',
  },
}
SCSS
$custom: #a18818;
$custom-light: #c1aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#a18818",
  "rgb": {
    "r": 161,
    "g": 136,
    "b": 24
  },
  "hsl": {
    "h": 49.051,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63164,
    "c": 0.12321,
    "h": 95.1
  },
  "luminance": 0.25251
}

Semantic roles & 50–950 ramp

primary
#A18818
secondary
#4E64C7
accent
#59F137
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A18818

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

Preview Lab → · Contrast checker → · Palette generator →

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