#A18717#A18717

#A18717 is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.9% C 0.123 H 94.5°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A18717
RGBrgb(161, 135, 23)
HSLhsl(49, 75%, 36%)
HSVhsv(49, 86%, 63%)
CMYKcmyk(0%, 16.1%, 85.7%, 36.9%)
CIE-LABlab(57.04, -0.95, 57.35)
CIE-LCHlch(57.04, 57.36, 90.95°)
OKLaboklab(62.94% -0.0096 0.1226)
OKLCHoklch(62.94% 0.123 94.5)
XYZxyz(23.5179, 24.9683, 4.3911)
Luminance0.2497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18717 #1731A1
analogous
#A14217 #A18717 #76A117
triadic
#A18717 #17A187 #8717A1
tetradic
#A18717 #17A142 #1731A1 #A11776
square
#A18717 #17A142 #1731A1 #A11776
split-complementary
#A18717 #1776A1 #4217A1
monochromatic
#362D08 #6B5A0F #A18717 #D7B41F #E6C94D

Accessibility & contrast

On white

3.50
#A18717 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#A18717 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18717
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18717#FFFFFF#000000##000000
##A187171.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#9D8C20
Tritanopia (blue-blind)
#AF7B73
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a18717;
/* rgb */ color: rgb(161, 135, 23);
/* oklch */ color: oklch(62.9% 0.123 94.5);
Tailwind
colors: {
  custom: {
    50: '#c1a961',
    500: '#a18717',
    950: '#000000',
  },
}
SCSS
$custom: #a18717;
$custom-light: #c1a961;
$custom-dark: #000000;
JSON
{
  "hex": "#a18717",
  "rgb": {
    "r": 161,
    "g": 135,
    "b": 23
  },
  "hsl": {
    "h": 48.696,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62944,
    "c": 0.12297,
    "h": 94.5
  },
  "luminance": 0.24967
}

Semantic roles & 50–950 ramp

primary
#A18717
secondary
#4C64C7
accent
#59F236
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #A18717

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

Preview Lab → · Contrast checker → · Palette generator →

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