#A18917#A18917

#A18917 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.4% C 0.124 H 95.9°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A18917
RGBrgb(161, 137, 23)
HSLhsl(50, 75%, 36%)
HSVhsv(50, 86%, 63%)
CMYKcmyk(0%, 14.9%, 85.7%, 36.9%)
CIE-LABlab(57.59, -2.05, 57.81)
CIE-LCHlch(57.59, 57.84, 92.03°)
OKLaboklab(63.38% -0.0127 0.1236)
OKLCHoklch(63.38% 0.124 95.9)
XYZxyz(23.7996, 25.5316, 4.4850)
Luminance0.2553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18917 #172FA1
analogous
#A14417 #A18917 #74A117
triadic
#A18917 #17A189 #8917A1
tetradic
#A18917 #17A144 #172FA1 #A11774
square
#A18917 #17A144 #172FA1 #A11774
split-complementary
#A18917 #1774A1 #4417A1
monochromatic
#362E08 #6B5B0F #A18917 #D7B71F #E6CB4D

Accessibility & contrast

On white

3.44
#A18917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#A18917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18917
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18917#FFFFFF#000000##000000
##A189171.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#9E8E21
Tritanopia (blue-blind)
#AF7D75
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a18917;
/* rgb */ color: rgb(161, 137, 23);
/* oklch */ color: oklch(63.4% 0.124 95.9);
Tailwind
colors: {
  custom: {
    50: '#c1ab61',
    500: '#a18917',
    950: '#000000',
  },
}
SCSS
$custom: #a18917;
$custom-light: #c1ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#a18917",
  "rgb": {
    "r": 161,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 49.565,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63375,
    "c": 0.12425,
    "h": 95.9
  },
  "luminance": 0.2553
}

Semantic roles & 50–950 ramp

primary
#A18917
secondary
#4C62C7
accent
#57F236
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18917

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

Preview Lab → · Contrast checker → · Palette generator →

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