#A18915#A18915

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

Color values

HEX#A18915
RGBrgb(161, 137, 21)
HSLhsl(50, 77%, 36%)
HSVhsv(50, 87%, 63%)
CMYKcmyk(0%, 14.9%, 87%, 36.9%)
CIE-LABlab(57.58, -2.10, 58.32)
CIE-LCHlch(57.58, 58.36, 92.07°)
OKLaboklab(63.37% -0.013 0.1243)
OKLCHoklch(63.37% 0.125 96)
XYZxyz(23.7803, 25.5239, 4.3834)
Luminance0.2552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18915 #152DA1
analogous
#A14315 #A18915 #73A115
triadic
#A18915 #15A189 #8915A1
tetradic
#A18915 #15A143 #152DA1 #A11573
square
#A18915 #15A143 #152DA1 #A11573
split-complementary
#A18915 #1573A1 #4315A1
monochromatic
#352D07 #6B5B0E #A18915 #D7B71C #E7CC49

Accessibility & contrast

On white

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

On black

6.10
#A18915 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18915
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18915#FFFFFF#000000##000000
##A189151.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a18915;
/* rgb */ color: rgb(161, 137, 21);
/* oklch */ color: oklch(63.4% 0.125 96.0);
Tailwind
colors: {
  custom: {
    50: '#c1ab61',
    500: '#a18915',
    950: '#000000',
  },
}
SCSS
$custom: #a18915;
$custom-light: #c1ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#a18915",
  "rgb": {
    "r": 161,
    "g": 137,
    "b": 21
  },
  "hsl": {
    "h": 49.714,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.63367,
    "c": 0.12501,
    "h": 96
  },
  "luminance": 0.25523
}

Semantic roles & 50–950 ramp

primary
#A18915
secondary
#495FC8
accent
#55F334
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131005
muted
#827F7A

Preview Lab

Preview with #A18915

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

Preview Lab → · Contrast checker → · Palette generator →

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