#817D1E#817D1E

#817D1E is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.6% C 0.112 H 107.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#817D1E
RGBrgb(129, 125, 30)
HSLhsl(58, 62%, 31%)
HSVhsv(58, 77%, 51%)
CMYKcmyk(0%, 3.1%, 76.7%, 49.4%)
CIE-LABlab(51.19, -9.98, 48.79)
CIE-LCHlch(51.19, 49.80, 101.56°)
OKLaboklab(57.58% -0.0327 0.1072)
OKLCHoklch(57.58% 0.112 107)
XYZxyz(16.6219, 19.4287, 4.1026)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817D1E #1E2281
analogous
#814B1E #817D1E #53811E
triadic
#817D1E #1E817D #7D1E81
tetradic
#817D1E #1E814B #1E2281 #811E53
square
#817D1E #1E814B #1E2281 #811E53
split-complementary
#817D1E #1E5381 #4B1E81
monochromatic
#1E1D07 #4F4D12 #817D1E #B3AD2A #D4CE46

Accessibility & contrast

On white

4.30
#817D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#817D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817D1E
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817D1E#FFFFFF#000000##000000
##817D1E1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780A
Deuteranopia (green-blind)
#8A7C25
Tritanopia (blue-blind)
#8B746B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #817d1e;
/* rgb */ color: rgb(129, 125, 30);
/* oklch */ color: oklch(57.6% 0.112 107.0);
Tailwind
colors: {
  custom: {
    50: '#a9a262',
    500: '#817d1e',
    950: '#000000',
  },
}
SCSS
$custom: #817d1e;
$custom-light: #a9a262;
$custom-dark: #000000;
JSON
{
  "hex": "#817d1e",
  "rgb": {
    "r": 129,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 57.576,
    "s": 62.264,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57576,
    "c": 0.11206,
    "h": 107
  },
  "luminance": 0.19428
}

Semantic roles & 50–950 ramp

primary
#817D1E
secondary
#474BB4
accent
#49E542
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A

Preview Lab

Preview with #817D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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