#817E1E#817E1E

#817E1E is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.8% C 0.113 H 107.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#817E1E
RGBrgb(129, 126, 30)
HSLhsl(58, 62%, 31%)
HSVhsv(58, 77%, 51%)
CMYKcmyk(0%, 2.3%, 76.7%, 49.4%)
CIE-LABlab(51.48, -10.53, 49.06)
CIE-LCHlch(51.48, 50.18, 102.11°)
OKLaboklab(57.81% -0.0342 0.1078)
OKLCHoklch(57.81% 0.113 107.6)
XYZxyz(16.7491, 19.6831, 4.1450)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817E1E #1E2181
analogous
#814C1E #817E1E #52811E
triadic
#817E1E #1E817E #7E1E81
tetradic
#817E1E #1E814C #1E2181 #811E52
square
#817E1E #1E814C #1E2181 #811E52
split-complementary
#817E1E #1E5281 #4C1E81
monochromatic
#1E1D07 #4F4E12 #817E1E #B3AE2A #D4D046

Accessibility & contrast

On white

4.25
#817E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#817E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817E1E
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817E1E#FFFFFF#000000##000000
##817E1E1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897909
Deuteranopia (green-blind)
#8B7C26
Tritanopia (blue-blind)
#8B756C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #817e1e;
/* rgb */ color: rgb(129, 126, 30);
/* oklch */ color: oklch(57.8% 0.113 107.6);
Tailwind
colors: {
  custom: {
    50: '#a9a362',
    500: '#817e1e',
    950: '#000000',
  },
}
SCSS
$custom: #817e1e;
$custom-light: #a9a362;
$custom-dark: #000000;
JSON
{
  "hex": "#817e1e",
  "rgb": {
    "r": 129,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 58.182,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57809,
    "c": 0.11307,
    "h": 107.6
  },
  "luminance": 0.19683
}

Semantic roles & 50–950 ramp

primary
#817E1E
secondary
#474AB4
accent
#47E542
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A

Preview Lab

Preview with #817E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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