#A18A18#A18A18

#A18A18 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.6% C 0.125 H 96.5°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A18A18
RGBrgb(161, 138, 24)
HSLhsl(50, 74%, 36%)
HSVhsv(50, 85%, 63%)
CMYKcmyk(0%, 14.3%, 85.1%, 36.9%)
CIE-LABlab(57.87, -2.57, 57.77)
CIE-LCHlch(57.87, 57.83, 92.55°)
OKLaboklab(63.6% -0.0141 0.1237)
OKLCHoklch(63.6% 0.125 96.5)
XYZxyz(23.9526, 25.8213, 4.5864)
Luminance0.2582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18A18 #182FA1
analogous
#A14618 #A18A18 #74A118
triadic
#A18A18 #18A18A #8A18A1
tetradic
#A18A18 #18A146 #182FA1 #A11874
square
#A18A18 #18A146 #182FA1 #A11874
split-complementary
#A18A18 #1874A1 #4618A1
monochromatic
#362F08 #6C5C10 #A18A18 #D6B820 #E5CC4F

Accessibility & contrast

On white

3.41
#A18A18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#A18A18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18A18
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18A18#FFFFFF#000000##000000
##A18A181.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9F8E21
Tritanopia (blue-blind)
#AF7E76
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a18a18;
/* rgb */ color: rgb(161, 138, 24);
/* oklch */ color: oklch(63.6% 0.125 96.5);
Tailwind
colors: {
  custom: {
    50: '#c1ab62',
    500: '#a18a18',
    950: '#000000',
  },
}
SCSS
$custom: #a18a18;
$custom-light: #c1ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#a18a18",
  "rgb": {
    "r": 161,
    "g": 138,
    "b": 24
  },
  "hsl": {
    "h": 49.927,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63596,
    "c": 0.12452,
    "h": 96.5
  },
  "luminance": 0.2582
}

Semantic roles & 50–950 ramp

primary
#A18A18
secondary
#4E62C7
accent
#56F137
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18A18

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

Preview Lab → · Contrast checker → · Palette generator →

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