#817D13#817D13

#817D13 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.5% C 0.118 H 107.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#817D13
RGBrgb(129, 125, 19)
HSLhsl(58, 74%, 29%)
HSVhsv(58, 85%, 51%)
CMYKcmyk(0%, 3.1%, 85.3%, 49.4%)
CIE-LABlab(51.13, -10.41, 52.23)
CIE-LCHlch(51.13, 53.25, 101.27°)
OKLaboklab(57.52% -0.0348 0.1124)
OKLCHoklch(57.52% 0.118 107.2)
XYZxyz(16.5051, 19.3820, 3.4877)
Luminance0.1938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817D13 #131781
analogous
#814613 #817D13 #4E8113
triadic
#817D13 #13817D #7D1381
tetradic
#817D13 #138146 #131781 #81134E
square
#817D13 #138146 #131781 #81134E
split-complementary
#817D13 #134E81 #461381
monochromatic
#1B1A04 #4C490B #817D13 #B6B11B #E0DA2E

Accessibility & contrast

On white

4.31
#817D13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#817D13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817D13
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817D13#FFFFFF#000000##000000
##817D131.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#8A7B1D
Tritanopia (blue-blind)
#8B746A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #817d13;
/* rgb */ color: rgb(129, 125, 19);
/* oklch */ color: oklch(57.5% 0.118 107.2);
Tailwind
colors: {
  custom: {
    50: '#a9a25d',
    500: '#817d13',
    950: '#000000',
  },
}
SCSS
$custom: #817d13;
$custom-light: #a9a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#817d13",
  "rgb": {
    "r": 129,
    "g": 125,
    "b": 19
  },
  "hsl": {
    "h": 57.818,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.57516,
    "c": 0.11766,
    "h": 107.2
  },
  "luminance": 0.19381
}

Semantic roles & 50–950 ramp

primary
#817D13
secondary
#3A3EB6
accent
#3EF137
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #817D13

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

Preview Lab → · Contrast checker → · Palette generator →

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