#817A1E#817A1E

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

Color values

HEX#817A1E
RGBrgb(129, 122, 30)
HSLhsl(56, 62%, 31%)
HSVhsv(56, 77%, 51%)
CMYKcmyk(0%, 5.4%, 76.7%, 49.4%)
CIE-LABlab(50.31, -8.33, 47.97)
CIE-LCHlch(50.31, 48.68, 99.85°)
OKLaboklab(56.88% -0.0281 0.1054)
OKLCHoklch(56.88% 0.109 104.9)
XYZxyz(16.2478, 18.6806, 3.9779)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817A1E #1E2581
analogous
#81481E #817A1E #56811E
triadic
#817A1E #1E817A #7A1E81
tetradic
#817A1E #1E8148 #1E2581 #811E56
square
#817A1E #1E8148 #1E2581 #811E56
split-complementary
#817A1E #1E5681 #481E81
monochromatic
#1E1C07 #4F4B12 #817A1E #B3A92A #D4CA46

Accessibility & contrast

On white

4.43
#817A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#817A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817A1E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817A1E#FFFFFF#000000##000000
##817A1E1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85750B
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#8B7168
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #817a1e;
/* rgb */ color: rgb(129, 122, 30);
/* oklch */ color: oklch(56.9% 0.109 104.9);
Tailwind
colors: {
  custom: {
    50: '#a9a061',
    500: '#817a1e',
    950: '#000000',
  },
}
SCSS
$custom: #817a1e;
$custom-light: #a9a061;
$custom-dark: #000000;
JSON
{
  "hex": "#817a1e",
  "rgb": {
    "r": 129,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 55.758,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5688,
    "c": 0.10911,
    "h": 104.9
  },
  "luminance": 0.1868
}

Semantic roles & 50–950 ramp

primary
#817A1E
secondary
#474EB4
accent
#4EE542
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #817A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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