#817C1E#817C1E

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

Color values

HEX#817C1E
RGBrgb(129, 124, 30)
HSLhsl(57, 62%, 31%)
HSVhsv(57, 77%, 51%)
CMYKcmyk(0%, 3.9%, 76.7%, 49.4%)
CIE-LABlab(50.89, -9.43, 48.51)
CIE-LCHlch(50.89, 49.42, 101.00°)
OKLaboklab(57.34% -0.0312 0.1066)
OKLCHoklch(57.34% 0.111 106.3)
XYZxyz(16.4959, 19.1768, 4.0606)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817C1E #1E2381
analogous
#814A1E #817C1E #54811E
triadic
#817C1E #1E817C #7C1E81
tetradic
#817C1E #1E814A #1E2381 #811E54
square
#817C1E #1E814A #1E2381 #811E54
split-complementary
#817C1E #1E5481 #4A1E81
monochromatic
#1E1D07 #4F4C12 #817C1E #B3AC2A #D4CD46

Accessibility & contrast

On white

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

On black

4.84
#817C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817C1E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817C1E#FFFFFF#000000##000000
##817C1E1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770A
Deuteranopia (green-blind)
#897B25
Tritanopia (blue-blind)
#8B736A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #817c1e;
/* rgb */ color: rgb(129, 124, 30);
/* oklch */ color: oklch(57.3% 0.111 106.3);
Tailwind
colors: {
  custom: {
    50: '#a9a162',
    500: '#817c1e',
    950: '#000000',
  },
}
SCSS
$custom: #817c1e;
$custom-light: #a9a162;
$custom-dark: #000000;
JSON
{
  "hex": "#817c1e",
  "rgb": {
    "r": 129,
    "g": 124,
    "b": 30
  },
  "hsl": {
    "h": 56.97,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57343,
    "c": 0.11106,
    "h": 106.3
  },
  "luminance": 0.19176
}

Semantic roles & 50–950 ramp

primary
#817C1E
secondary
#474CB4
accent
#4BE542
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #817C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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