#A18315#A18315

#A18315 is a light, vivid yellow. Relative luminance 0.239; OKLCH L 62.1% C 0.121 H 91.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A18315
RGBrgb(161, 131, 21)
HSLhsl(47, 77%, 36%)
HSVhsv(47, 87%, 63%)
CMYKcmyk(0%, 18.6%, 87%, 36.9%)
CIE-LABlab(55.95, 1.22, 56.98)
CIE-LCHlch(55.95, 57.00, 88.78°)
OKLaboklab(62.08% -0.0036 0.1214)
OKLCHoklch(62.08% 0.121 91.7)
XYZxyz(22.9510, 23.8653, 4.1069)
Luminance0.2386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18315 #1533A1
analogous
#A13D15 #A18315 #79A115
triadic
#A18315 #15A183 #8315A1
tetradic
#A18315 #15A13D #1533A1 #A11579
square
#A18315 #15A13D #1533A1 #A11579
split-complementary
#A18315 #1579A1 #3D15A1
monochromatic
#352B07 #6B570E #A18315 #D7AF1C #E7C549

Accessibility & contrast

On white

3.64
#A18315 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#A18315 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18315
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18315#FFFFFF#000000##000000
##A183151.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#9A8A1E
Tritanopia (blue-blind)
#AF7770
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a18315;
/* rgb */ color: rgb(161, 131, 21);
/* oklch */ color: oklch(62.1% 0.121 91.7);
Tailwind
colors: {
  custom: {
    50: '#c1a660',
    500: '#a18315',
    950: '#000000',
  },
}
SCSS
$custom: #a18315;
$custom-light: #c1a660;
$custom-dark: #000000;
JSON
{
  "hex": "#a18315",
  "rgb": {
    "r": 161,
    "g": 131,
    "b": 21
  },
  "hsl": {
    "h": 47.143,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62079,
    "c": 0.12142,
    "h": 91.7
  },
  "luminance": 0.23864
}

Semantic roles & 50–950 ramp

primary
#A18315
secondary
#4965C8
accent
#5DF334
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #A18315

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

Preview Lab → · Contrast checker → · Palette generator →

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