#817C16#817C16

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

Color values

HEX#817C16
RGBrgb(129, 124, 22)
HSLhsl(57, 71%, 30%)
HSVhsv(57, 83%, 51%)
CMYKcmyk(0%, 3.9%, 82.9%, 49.4%)
CIE-LABlab(50.85, -9.76, 51.13)
CIE-LCHlch(50.85, 52.06, 100.81°)
OKLaboklab(57.3% -0.0328 0.1106)
OKLCHoklch(57.3% 0.115 106.5)
XYZxyz(16.4064, 19.1410, 3.5893)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817C16 #161B81
analogous
#814616 #817C16 #518116
triadic
#817C16 #16817C #7C1681
tetradic
#817C16 #168146 #161B81 #811651
square
#817C16 #168146 #161B81 #811651
split-complementary
#817C16 #165181 #461681
monochromatic
#1A1904 #4D4A0D #817C16 #B5AE1F #DDD535

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##817C16#FFFFFF#000000##000000
##817C161.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)
#8A7B1F
Tritanopia (blue-blind)
#8B736A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #817c16;
/* rgb */ color: rgb(129, 124, 22);
/* oklch */ color: oklch(57.3% 0.115 106.5);
Tailwind
colors: {
  custom: {
    50: '#a9a15e',
    500: '#817c16',
    950: '#000000',
  },
}
SCSS
$custom: #817c16;
$custom-light: #a9a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#817c16",
  "rgb": {
    "r": 129,
    "g": 124,
    "b": 22
  },
  "hsl": {
    "h": 57.196,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.57297,
    "c": 0.11536,
    "h": 106.5
  },
  "luminance": 0.1914
}

Semantic roles & 50–950 ramp

primary
#817C16
secondary
#3D43B6
accent
#43EE3A
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817C16

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

Preview Lab → · Contrast checker → · Palette generator →

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