#816917#816917

#816917 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 53.0% C 0.100 H 91.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#816917
RGBrgb(129, 105, 23)
HSLhsl(46, 70%, 30%)
HSVhsv(46, 82%, 51%)
CMYKcmyk(0%, 18.6%, 82.2%, 49.4%)
CIE-LABlab(45.40, 1.01, 45.99)
CIE-LCHlch(45.40, 46.00, 88.74°)
OKLaboklab(52.98% -0.0024 0.0997)
OKLCHoklch(52.98% 0.1 91.4)
XYZxyz(14.2603, 14.8330, 2.9224)
Luminance0.1483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816917 #172F81
analogous
#813417 #816917 #648117
triadic
#816917 #178169 #691781
tetradic
#816917 #178134 #172F81 #811764
square
#816917 #178134 #172F81 #811764
split-complementary
#816917 #176481 #341781
monochromatic
#1A1505 #4D3F0E #816917 #B59320 #DBB637

Accessibility & contrast

On white

5.29
#816917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#816917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816917
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816917#FFFFFF#000000##FFFFFF
##8169171.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766804
Deuteranopia (green-blind)
#7C6E1C
Tritanopia (blue-blind)
#8C5F5A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #816917;
/* rgb */ color: rgb(129, 105, 23);
/* oklch */ color: oklch(53.0% 0.100 91.4);
Tailwind
colors: {
  custom: {
    50: '#a9935c',
    500: '#816917',
    950: '#000000',
  },
}
SCSS
$custom: #816917;
$custom-light: #a9935c;
$custom-dark: #000000;
JSON
{
  "hex": "#816917",
  "rgb": {
    "r": 129,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 46.415,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52978,
    "c": 0.09975,
    "h": 91.4
  },
  "luminance": 0.14832
}

Semantic roles & 50–950 ramp

primary
#816917
secondary
#3E59B5
accent
#63ED3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #816917

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

Preview Lab → · Contrast checker → · Palette generator →

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