#A18517#A18517

#A18517 is a light, vivid yellow. Relative luminance 0.244; OKLCH L 62.5% C 0.122 H 93.0°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A18517
RGBrgb(161, 133, 23)
HSLhsl(48, 75%, 36%)
HSVhsv(48, 86%, 63%)
CMYKcmyk(0%, 17.4%, 85.7%, 36.9%)
CIE-LABlab(56.50, 0.16, 56.90)
CIE-LCHlch(56.50, 56.90, 89.84°)
OKLaboklab(62.52% -0.0064 0.1216)
OKLCHoklch(62.52% 0.122 93)
XYZxyz(23.2415, 24.4154, 4.2989)
Luminance0.2441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18517 #1733A1
analogous
#A14017 #A18517 #78A117
triadic
#A18517 #17A185 #8517A1
tetradic
#A18517 #17A140 #1733A1 #A11778
square
#A18517 #17A140 #1733A1 #A11778
split-complementary
#A18517 #1778A1 #4017A1
monochromatic
#362D08 #6B590F #A18517 #D7B11F #E6C74D

Accessibility & contrast

On white

3.57
#A18517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#A18517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18517
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18517#FFFFFF#000000##000000
##A185171.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#9C8B20
Tritanopia (blue-blind)
#AF7971
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a18517;
/* rgb */ color: rgb(161, 133, 23);
/* oklch */ color: oklch(62.5% 0.122 93.0);
Tailwind
colors: {
  custom: {
    50: '#c1a861',
    500: '#a18517',
    950: '#000000',
  },
}
SCSS
$custom: #a18517;
$custom-light: #c1a861;
$custom-dark: #000000;
JSON
{
  "hex": "#a18517",
  "rgb": {
    "r": 161,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 47.826,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62515,
    "c": 0.12178,
    "h": 93
  },
  "luminance": 0.24414
}

Semantic roles & 50–950 ramp

primary
#A18517
secondary
#4C65C7
accent
#5CF236
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #A18517

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

Preview Lab → · Contrast checker → · Palette generator →

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