#817917#817917

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

Color values

HEX#817917
RGBrgb(129, 121, 23)
HSLhsl(55, 70%, 30%)
HSVhsv(55, 82%, 51%)
CMYKcmyk(0%, 6.2%, 82.2%, 49.4%)
CIE-LABlab(49.98, -8.07, 50.07)
CIE-LCHlch(49.98, 50.71, 99.15°)
OKLaboklab(56.61% -0.028 0.1085)
OKLCHoklch(56.61% 0.112 104.5)
XYZxyz(16.0460, 18.4044, 3.5176)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817917 #171F81
analogous
#814417 #817917 #548117
triadic
#817917 #178179 #791781
tetradic
#817917 #178144 #171F81 #811754
square
#817917 #178144 #171F81 #811754
split-complementary
#817917 #175481 #441781
monochromatic
#1A1805 #4D480E #817917 #B5AA20 #DBCF37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##817917#FFFFFF#000000##000000
##8179171.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: #817917;
/* rgb */ color: rgb(129, 121, 23);
/* oklch */ color: oklch(56.6% 0.112 104.5);
Tailwind
colors: {
  custom: {
    50: '#a99f5e',
    500: '#817917',
    950: '#000000',
  },
}
SCSS
$custom: #817917;
$custom-light: #a99f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#817917",
  "rgb": {
    "r": 129,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 55.472,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56606,
    "c": 0.11205,
    "h": 104.5
  },
  "luminance": 0.18404
}

Semantic roles & 50–950 ramp

primary
#817917
secondary
#3E47B5
accent
#49ED3B
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817917

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

Preview Lab → · Contrast checker → · Palette generator →

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