#817916#817916

#817916 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.6% C 0.113 H 104.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#817916
RGBrgb(129, 121, 22)
HSLhsl(56, 71%, 30%)
HSVhsv(56, 83%, 51%)
CMYKcmyk(0%, 6.2%, 82.9%, 49.4%)
CIE-LABlab(49.98, -8.10, 50.37)
CIE-LCHlch(49.98, 51.02, 99.14°)
OKLaboklab(56.6% -0.0282 0.109)
OKLCHoklch(56.6% 0.113 104.5)
XYZxyz(16.0362, 18.4005, 3.4658)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817916 #161E81
analogous
#814416 #817916 #548116
triadic
#817916 #168179 #791681
tetradic
#817916 #168144 #161E81 #811654
square
#817916 #168144 #161E81 #811654
split-complementary
#817916 #165481 #441681
monochromatic
#1A1904 #4D480D #817916 #B5AA1F #DDD035

Accessibility & contrast

On white

4.49
#817916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#817916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817916
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817916#FFFFFF#000000##000000
##8179161.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#87791F
Tritanopia (blue-blind)
#8B7067
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #817916;
/* rgb */ color: rgb(129, 121, 22);
/* oklch */ color: oklch(56.6% 0.113 104.5);
Tailwind
colors: {
  custom: {
    50: '#a99f5e',
    500: '#817916',
    950: '#000000',
  },
}
SCSS
$custom: #817916;
$custom-light: #a99f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#817916",
  "rgb": {
    "r": 129,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 55.514,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56601,
    "c": 0.11254,
    "h": 104.5
  },
  "luminance": 0.184
}

Semantic roles & 50–950 ramp

primary
#817916
secondary
#3D46B6
accent
#48EE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817916

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

Preview Lab → · Contrast checker → · Palette generator →

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