#A18A17#A18A17

#A18A17 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#A18A17
RGBrgb(161, 138, 23)
HSLhsl(50, 75%, 36%)
HSVhsv(50, 86%, 63%)
CMYKcmyk(0%, 14.3%, 85.7%, 36.9%)
CIE-LABlab(57.86, -2.60, 58.04)
CIE-LCHlch(57.86, 58.09, 92.56°)
OKLaboklab(63.59% -0.0142 0.1241)
OKLCHoklch(63.59% 0.125 96.5)
XYZxyz(23.9424, 25.8172, 4.5326)
Luminance0.2582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18A17 #172EA1
analogous
#A14517 #A18A17 #73A117
triadic
#A18A17 #17A18A #8A17A1
tetradic
#A18A17 #17A145 #172EA1 #A11773
square
#A18A17 #17A145 #172EA1 #A11773
split-complementary
#A18A17 #1773A1 #4517A1
monochromatic
#362E08 #6B5C0F #A18A17 #D7B81F #E6CC4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A18A17#FFFFFF#000000##000000
##A18A171.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: #a18a17;
/* rgb */ color: rgb(161, 138, 23);
/* oklch */ color: oklch(63.6% 0.125 96.5);
Tailwind
colors: {
  custom: {
    50: '#c1ab62',
    500: '#a18a17',
    950: '#000000',
  },
}
SCSS
$custom: #a18a17;
$custom-light: #c1ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#a18a17",
  "rgb": {
    "r": 161,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 50,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63592,
    "c": 0.12492,
    "h": 96.5
  },
  "luminance": 0.25816
}

Semantic roles & 50–950 ramp

primary
#A18A17
secondary
#4C61C7
accent
#55F236
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18A17

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

Preview Lab → · Contrast checker → · Palette generator →

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