#A18715#A18715

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

Color values

HEX#A18715
RGBrgb(161, 135, 21)
HSLhsl(49, 77%, 36%)
HSVhsv(49, 87%, 63%)
CMYKcmyk(0%, 16.1%, 87%, 36.9%)
CIE-LABlab(57.04, -1.00, 57.87)
CIE-LCHlch(57.04, 57.88, 90.99°)
OKLaboklab(62.94% -0.0099 0.1233)
OKLCHoklch(62.94% 0.124 94.6)
XYZxyz(23.4987, 24.9606, 4.2895)
Luminance0.2496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18715 #152FA1
analogous
#A14115 #A18715 #75A115
triadic
#A18715 #15A187 #8715A1
tetradic
#A18715 #15A141 #152FA1 #A11575
square
#A18715 #15A141 #152FA1 #A11575
split-complementary
#A18715 #1575A1 #4115A1
monochromatic
#352C07 #6B5A0E #A18715 #D7B41C #E7CA49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A18715#FFFFFF#000000##000000
##A187151.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)
#9D8C1F
Tritanopia (blue-blind)
#AF7B73
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a18715;
/* rgb */ color: rgb(161, 135, 21);
/* oklch */ color: oklch(62.9% 0.124 94.6);
Tailwind
colors: {
  custom: {
    50: '#c1a960',
    500: '#a18715',
    950: '#000000',
  },
}
SCSS
$custom: #a18715;
$custom-light: #c1a960;
$custom-dark: #000000;
JSON
{
  "hex": "#a18715",
  "rgb": {
    "r": 161,
    "g": 135,
    "b": 21
  },
  "hsl": {
    "h": 48.857,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62936,
    "c": 0.12373,
    "h": 94.6
  },
  "luminance": 0.24959
}

Semantic roles & 50–950 ramp

primary
#A18715
secondary
#4961C8
accent
#58F334
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #A18715

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

Preview Lab → · Contrast checker → · Palette generator →

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