#817C1C#817C1C

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

Color values

HEX#817C1C
RGBrgb(129, 124, 28)
HSLhsl(57, 64%, 31%)
HSVhsv(57, 78%, 51%)
CMYKcmyk(0%, 3.9%, 78.3%, 49.4%)
CIE-LABlab(50.88, -9.52, 49.22)
CIE-LCHlch(50.88, 50.13, 100.95°)
OKLaboklab(57.33% -0.0316 0.1077)
OKLCHoklch(57.33% 0.112 106.4)
XYZxyz(16.4712, 19.1669, 3.9303)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817C1C #1C2181
analogous
#81491C #817C1C #53811C
triadic
#817C1C #1C817C #7C1C81
tetradic
#817C1C #1C8149 #1C2181 #811C53
square
#817C1C #1C8149 #1C2181 #811C53
split-complementary
#817C1C #1C5381 #491C81
monochromatic
#1C1B06 #4F4C11 #817C1C #B3AC27 #D6CF42

Accessibility & contrast

On white

4.34
#817C1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##817C1C#FFFFFF#000000##000000
##817C1C1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #817c1c;
/* rgb */ color: rgb(129, 124, 28);
/* oklch */ color: oklch(57.3% 0.112 106.4);
Tailwind
colors: {
  custom: {
    50: '#a9a161',
    500: '#817c1c',
    950: '#000000',
  },
}
SCSS
$custom: #817c1c;
$custom-light: #a9a161;
$custom-dark: #000000;
JSON
{
  "hex": "#817c1c",
  "rgb": {
    "r": 129,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 57.03,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5733,
    "c": 0.11224,
    "h": 106.4
  },
  "luminance": 0.19166
}

Semantic roles & 50–950 ramp

primary
#817C1C
secondary
#444AB4
accent
#49E740
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #817C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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