#817A1A#817A1A

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

Color values

HEX#817A1A
RGBrgb(129, 122, 26)
HSLhsl(56, 66%, 30%)
HSVhsv(56, 80%, 51%)
CMYKcmyk(0%, 5.4%, 79.8%, 49.4%)
CIE-LABlab(50.29, -8.50, 49.36)
CIE-LCHlch(50.29, 50.09, 99.78°)
OKLaboklab(56.85% -0.0289 0.1076)
OKLCHoklch(56.85% 0.111 105.1)
XYZxyz(16.2000, 18.6614, 3.7258)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817A1A #1A2181
analogous
#81461A #817A1A #55811A
triadic
#817A1A #1A817A #7A1A81
tetradic
#817A1A #1A8146 #1A2181 #811A55
square
#817A1A #1A8146 #1A2181 #811A55
split-complementary
#817A1A #1A5581 #461A81
monochromatic
#1B1A05 #4E4A10 #817A1A #B4AA24 #D8CD3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##817A1A#FFFFFF#000000##000000
##817A1A1.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)
#857502
Deuteranopia (green-blind)
#887922
Tritanopia (blue-blind)
#8B7168
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #817a1a;
/* rgb */ color: rgb(129, 122, 26);
/* oklch */ color: oklch(56.9% 0.111 105.1);
Tailwind
colors: {
  custom: {
    50: '#a9a060',
    500: '#817a1a',
    950: '#000000',
  },
}
SCSS
$custom: #817a1a;
$custom-light: #a9a060;
$custom-dark: #000000;
JSON
{
  "hex": "#817a1a",
  "rgb": {
    "r": 129,
    "g": 122,
    "b": 26
  },
  "hsl": {
    "h": 55.922,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.56854,
    "c": 0.11143,
    "h": 105.1
  },
  "luminance": 0.18661
}

Semantic roles & 50–950 ramp

primary
#817A1A
secondary
#424AB5
accent
#4AE93E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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