#817C19#817C19

#817C19 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.3% C 0.114 H 106.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#817C19
RGBrgb(129, 124, 25)
HSLhsl(57, 68%, 30%)
HSVhsv(57, 81%, 51%)
CMYKcmyk(0%, 3.9%, 80.6%, 49.4%)
CIE-LABlab(50.87, -9.65, 50.21)
CIE-LCHlch(50.87, 51.13, 100.88°)
OKLaboklab(57.31% -0.0322 0.1092)
OKLCHoklch(57.31% 0.114 106.4)
XYZxyz(16.4371, 19.1532, 3.7506)
Luminance0.1915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817C19 #191E81
analogous
#814819 #817C19 #528119
triadic
#817C19 #19817C #7C1981
tetradic
#817C19 #198148 #191E81 #811952
square
#817C19 #198148 #191E81 #811952
split-complementary
#817C19 #195281 #481981
monochromatic
#1A1905 #4E4B0F #817C19 #B4AD23 #D9D13B

Accessibility & contrast

On white

4.35
#817C19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#817C19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817C19
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817C19#FFFFFF#000000##000000
##817C191.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#897B21
Tritanopia (blue-blind)
#8B736A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #817c19;
/* rgb */ color: rgb(129, 124, 25);
/* oklch */ color: oklch(57.3% 0.114 106.4);
Tailwind
colors: {
  custom: {
    50: '#a9a15f',
    500: '#817c19',
    950: '#000000',
  },
}
SCSS
$custom: #817c19;
$custom-light: #a9a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#817c19",
  "rgb": {
    "r": 129,
    "g": 124,
    "b": 25
  },
  "hsl": {
    "h": 57.115,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.57313,
    "c": 0.11388,
    "h": 106.4
  },
  "luminance": 0.19153
}

Semantic roles & 50–950 ramp

primary
#817C19
secondary
#4146B5
accent
#46EA3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817C19

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

Preview Lab → · Contrast checker → · Palette generator →

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