#817C15#817C15

#817C15 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.3% C 0.116 H 106.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#817C15
RGBrgb(129, 124, 21)
HSLhsl(57, 72%, 29%)
HSVhsv(57, 84%, 51%)
CMYKcmyk(0%, 3.9%, 83.7%, 49.4%)
CIE-LABlab(50.85, -9.79, 51.42)
CIE-LCHlch(50.85, 52.35, 100.78°)
OKLaboklab(57.29% -0.033 0.111)
OKLCHoklch(57.29% 0.116 106.5)
XYZxyz(16.3970, 19.1372, 3.5395)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817C15 #151A81
analogous
#814615 #817C15 #508115
triadic
#817C15 #15817C #7C1581
tetradic
#817C15 #158146 #151A81 #811550
square
#817C15 #158146 #151A81 #811550
split-complementary
#817C15 #155081 #461581
monochromatic
#1A1904 #4C490C #817C15 #B6AF1E #DED633

Accessibility & contrast

On white

4.35
#817C15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#817C15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817C15
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817C15#FFFFFF#000000##000000
##817C151.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#8A7B1E
Tritanopia (blue-blind)
#8B7369
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #817c15;
/* rgb */ color: rgb(129, 124, 21);
/* oklch */ color: oklch(57.3% 0.116 106.5);
Tailwind
colors: {
  custom: {
    50: '#a9a15e',
    500: '#817c15',
    950: '#000000',
  },
}
SCSS
$custom: #817c15;
$custom-light: #a9a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#817c15",
  "rgb": {
    "r": 129,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 57.222,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.57292,
    "c": 0.11582,
    "h": 106.5
  },
  "luminance": 0.19137
}

Semantic roles & 50–950 ramp

primary
#817C15
secondary
#3C42B6
accent
#41EF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817C15

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

Preview Lab → · Contrast checker → · Palette generator →

#817C15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva