#817816#817816

#817816 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.4% C 0.112 H 103.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#817816
RGBrgb(129, 120, 22)
HSLhsl(55, 71%, 30%)
HSVhsv(55, 83%, 51%)
CMYKcmyk(0%, 7%, 82.9%, 49.4%)
CIE-LABlab(49.69, -7.55, 50.12)
CIE-LCHlch(49.69, 50.68, 98.57°)
OKLaboklab(56.37% -0.0266 0.1084)
OKLCHoklch(56.37% 0.112 103.8)
XYZxyz(15.9153, 18.1587, 3.4256)
Luminance0.1816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817816 #161F81
analogous
#814216 #817816 #558116
triadic
#817816 #168178 #781681
tetradic
#817816 #168142 #161F81 #811655
square
#817816 #168142 #161F81 #811655
split-complementary
#817816 #165581 #421681
monochromatic
#1A1804 #4D470D #817816 #B5A91F #DDCE35

Accessibility & contrast

On white

4.53
#817816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#817816 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817816
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817816#FFFFFF#000000##000000
##8178161.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#87781E
Tritanopia (blue-blind)
#8B6F66
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #817816;
/* rgb */ color: rgb(129, 120, 22);
/* oklch */ color: oklch(56.4% 0.112 103.8);
Tailwind
colors: {
  custom: {
    50: '#a99e5e',
    500: '#817816',
    950: '#000000',
  },
}
SCSS
$custom: #817816;
$custom-light: #a99e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#817816",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 54.953,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5637,
    "c": 0.11163,
    "h": 103.8
  },
  "luminance": 0.18158
}

Semantic roles & 50–950 ramp

primary
#817816
secondary
#3D47B6
accent
#49EE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817816

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

Preview Lab → · Contrast checker → · Palette generator →

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