#817A19#817A19

#817A19 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.8% C 0.112 H 105.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#817A19
RGBrgb(129, 122, 25)
HSLhsl(56, 68%, 30%)
HSVhsv(56, 81%, 51%)
CMYKcmyk(0%, 5.4%, 80.6%, 49.4%)
CIE-LABlab(50.28, -8.54, 49.69)
CIE-LCHlch(50.28, 50.42, 99.76°)
OKLaboklab(56.85% -0.0292 0.1081)
OKLCHoklch(56.85% 0.112 105.1)
XYZxyz(16.1890, 18.6570, 3.6679)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817A19 #192081
analogous
#814619 #817A19 #548119
triadic
#817A19 #19817A #7A1981
tetradic
#817A19 #198146 #192081 #811954
square
#817A19 #198146 #192081 #811954
split-complementary
#817A19 #195481 #461981
monochromatic
#1A1905 #4E4A0F #817A19 #B4AA23 #D9CE3B

Accessibility & contrast

On white

4.44
#817A19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#817A19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817A19
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817A19#FFFFFF#000000##000000
##817A191.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#887921
Tritanopia (blue-blind)
#8B7168
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #817a19;
/* rgb */ color: rgb(129, 122, 25);
/* oklch */ color: oklch(56.8% 0.112 105.1);
Tailwind
colors: {
  custom: {
    50: '#a9a05f',
    500: '#817a19',
    950: '#000000',
  },
}
SCSS
$custom: #817a19;
$custom-light: #a9a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#817a19",
  "rgb": {
    "r": 129,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 55.962,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56849,
    "c": 0.11196,
    "h": 105.1
  },
  "luminance": 0.18656
}

Semantic roles & 50–950 ramp

primary
#817A19
secondary
#4149B5
accent
#49EA3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817A19

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

Preview Lab → · Contrast checker → · Palette generator →

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