#817015#817015

#817015 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.5% C 0.105 H 97.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#817015
RGBrgb(129, 112, 21)
HSLhsl(51, 72%, 29%)
HSVhsv(51, 84%, 51%)
CMYKcmyk(0%, 13.2%, 83.7%, 49.4%)
CIE-LABlab(47.38, -3.08, 48.41)
CIE-LCHlch(47.38, 48.51, 93.64°)
OKLaboklab(54.54% -0.0142 0.1045)
OKLCHoklch(54.54% 0.105 97.7)
XYZxyz(14.9836, 16.3104, 3.0683)
Luminance0.1631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817015 #152681
analogous
#813A15 #817015 #5C8115
triadic
#817015 #158170 #701581
tetradic
#817015 #15813A #152681 #81155C
square
#817015 #15813A #152681 #81155C
split-complementary
#817015 #155C81 #3A1581
monochromatic
#1A1704 #4C420C #817015 #B69E1E #DEC333

Accessibility & contrast

On white

4.93
#817015 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#817015 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817015
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817015#FFFFFF#000000##FFFFFF
##8170151.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#81731C
Tritanopia (blue-blind)
#8C675F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #817015;
/* rgb */ color: rgb(129, 112, 21);
/* oklch */ color: oklch(54.5% 0.105 97.7);
Tailwind
colors: {
  custom: {
    50: '#a9985c',
    500: '#817015',
    950: '#000000',
  },
}
SCSS
$custom: #817015;
$custom-light: #a9985c;
$custom-dark: #000000;
JSON
{
  "hex": "#817015",
  "rgb": {
    "r": 129,
    "g": 112,
    "b": 21
  },
  "hsl": {
    "h": 50.556,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54535,
    "c": 0.10547,
    "h": 97.7
  },
  "luminance": 0.1631
}

Semantic roles & 50–950 ramp

primary
#817015
secondary
#3C4FB6
accent
#56EF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #817015

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

Preview Lab → · Contrast checker → · Palette generator →

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