#817315#817315

#817315 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.2% C 0.108 H 100.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#817315
RGBrgb(129, 115, 21)
HSLhsl(52, 72%, 29%)
HSVhsv(52, 84%, 51%)
CMYKcmyk(0%, 10.9%, 83.7%, 49.4%)
CIE-LABlab(48.24, -4.78, 49.16)
CIE-LCHlch(48.24, 49.39, 95.56°)
OKLaboklab(55.22% -0.019 0.1061)
OKLCHoklch(55.22% 0.108 100.1)
XYZxyz(15.3201, 16.9835, 3.1805)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817315 #152381
analogous
#813D15 #817315 #598115
triadic
#817315 #158173 #731581
tetradic
#817315 #15813D #152381 #811559
square
#817315 #15813D #152381 #811559
split-complementary
#817315 #155981 #3D1581
monochromatic
#1A1704 #4C440C #817315 #B6A21E #DEC833

Accessibility & contrast

On white

4.78
#817315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#817315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817315
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817315#FFFFFF#000000##FFFFFF
##8173151.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#83751D
Tritanopia (blue-blind)
#8C6A62
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #817315;
/* rgb */ color: rgb(129, 115, 21);
/* oklch */ color: oklch(55.2% 0.108 100.1);
Tailwind
colors: {
  custom: {
    50: '#a99a5c',
    500: '#817315',
    950: '#000000',
  },
}
SCSS
$custom: #817315;
$custom-light: #a99a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#817315",
  "rgb": {
    "r": 129,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 52.222,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55217,
    "c": 0.10781,
    "h": 100.1
  },
  "luminance": 0.16983
}

Semantic roles & 50–950 ramp

primary
#817315
secondary
#3C4CB6
accent
#51EF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #817315

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

Preview Lab → · Contrast checker → · Palette generator →

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