#817115#817115

#817115 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.8% C 0.106 H 98.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#817115
RGBrgb(129, 113, 21)
HSLhsl(51, 72%, 29%)
HSVhsv(51, 84%, 51%)
CMYKcmyk(0%, 12.4%, 83.7%, 49.4%)
CIE-LABlab(47.67, -3.65, 48.66)
CIE-LCHlch(47.67, 48.80, 94.29°)
OKLaboklab(54.76% -0.0158 0.1051)
OKLCHoklch(54.76% 0.106 98.5)
XYZxyz(15.0945, 16.5323, 3.1053)
Luminance0.1653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817115 #152581
analogous
#813B15 #817115 #5B8115
triadic
#817115 #158171 #711581
tetradic
#817115 #15813B #152581 #81155B
square
#817115 #15813B #152581 #81155B
split-complementary
#817115 #155B81 #3B1581
monochromatic
#1A1704 #4C430C #817115 #B69F1E #DEC433

Accessibility & contrast

On white

4.88
#817115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#817115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817115
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817115#FFFFFF#000000##FFFFFF
##8171151.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#81731C
Tritanopia (blue-blind)
#8C6860
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #817115;
/* rgb */ color: rgb(129, 113, 21);
/* oklch */ color: oklch(54.8% 0.106 98.5);
Tailwind
colors: {
  custom: {
    50: '#a9995c',
    500: '#817115',
    950: '#000000',
  },
}
SCSS
$custom: #817115;
$custom-light: #a9995c;
$custom-dark: #000000;
JSON
{
  "hex": "#817115",
  "rgb": {
    "r": 129,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 51.111,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54762,
    "c": 0.10623,
    "h": 98.5
  },
  "luminance": 0.16532
}

Semantic roles & 50–950 ramp

primary
#817115
secondary
#3C4EB6
accent
#54EF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #817115

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

Preview Lab → · Contrast checker → · Palette generator →

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