#A18015#A18015

#A18015 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.4% C 0.120 H 89.5°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A18015
RGBrgb(161, 128, 21)
HSLhsl(46, 77%, 36%)
HSVhsv(46, 87%, 63%)
CMYKcmyk(0%, 20.5%, 87%, 36.9%)
CIE-LABlab(55.15, 2.89, 56.32)
CIE-LCHlch(55.15, 56.39, 87.06°)
OKLaboklab(61.44% 0.0011 0.1199)
OKLCHoklch(61.44% 0.12 89.5)
XYZxyz(22.5539, 23.0711, 3.9746)
Luminance0.2307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18015 #1536A1
analogous
#A13A15 #A18015 #7CA115
triadic
#A18015 #15A180 #8015A1
tetradic
#A18015 #15A13A #1536A1 #A1157C
square
#A18015 #15A13A #1536A1 #A1157C
split-complementary
#A18015 #157CA1 #3A15A1
monochromatic
#352A07 #6B550E #A18015 #D7AB1C #E7C249

Accessibility & contrast

On white

3.74
#A18015 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#A18015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18015
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18015#FFFFFF#000000##000000
##A180151.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#98881D
Tritanopia (blue-blind)
#AF746D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a18015;
/* rgb */ color: rgb(161, 128, 21);
/* oklch */ color: oklch(61.4% 0.120 89.5);
Tailwind
colors: {
  custom: {
    50: '#c2a45f',
    500: '#a18015',
    950: '#000000',
  },
}
SCSS
$custom: #a18015;
$custom-light: #c2a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#a18015",
  "rgb": {
    "r": 161,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 45.857,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61443,
    "c": 0.11991,
    "h": 89.5
  },
  "luminance": 0.2307
}

Semantic roles & 50–950 ramp

primary
#A18015
secondary
#4967C8
accent
#61F334
background
#FCFAF5
surface
#F8F3EA
border
#D1CDC6
text
#130F05
muted
#827F79

Preview Lab

Preview with #A18015

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

Preview Lab → · Contrast checker → · Palette generator →

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