#A18817#A18817

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

Color values

HEX#A18817
RGBrgb(161, 136, 23)
HSLhsl(49, 75%, 36%)
HSVhsv(49, 86%, 63%)
CMYKcmyk(0%, 15.5%, 85.7%, 36.9%)
CIE-LABlab(57.32, -1.50, 57.58)
CIE-LCHlch(57.32, 57.60, 91.49°)
OKLaboklab(63.16% -0.0111 0.1231)
OKLCHoklch(63.16% 0.124 95.2)
XYZxyz(23.6581, 25.2486, 4.4378)
Luminance0.2525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18817 #1730A1
analogous
#A14317 #A18817 #75A117
triadic
#A18817 #17A188 #8817A1
tetradic
#A18817 #17A143 #1730A1 #A11775
square
#A18817 #17A143 #1730A1 #A11775
split-complementary
#A18817 #1775A1 #4317A1
monochromatic
#362E08 #6B5B0F #A18817 #D7B51F #E6CA4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A18817#FFFFFF#000000##000000
##A188171.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)
#9E8D20
Tritanopia (blue-blind)
#AF7C74
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a18817;
/* rgb */ color: rgb(161, 136, 23);
/* oklch */ color: oklch(63.2% 0.124 95.2);
Tailwind
colors: {
  custom: {
    50: '#c1aa61',
    500: '#a18817',
    950: '#000000',
  },
}
SCSS
$custom: #a18817;
$custom-light: #c1aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#a18817",
  "rgb": {
    "r": 161,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 49.13,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63159,
    "c": 0.1236,
    "h": 95.2
  },
  "luminance": 0.25247
}

Semantic roles & 50–950 ramp

primary
#A18817
secondary
#4C63C7
accent
#58F236
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A18817

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

Preview Lab → · Contrast checker → · Palette generator →

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