#817E13#817E13

#817E13 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.7% C 0.119 H 107.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#817E13
RGBrgb(129, 126, 19)
HSLhsl(58, 74%, 29%)
HSVhsv(58, 85%, 51%)
CMYKcmyk(0%, 2.3%, 85.3%, 49.4%)
CIE-LABlab(51.42, -10.95, 52.47)
CIE-LCHlch(51.42, 53.60, 101.79°)
OKLaboklab(57.75% -0.0364 0.1129)
OKLCHoklch(57.75% 0.119 107.8)
XYZxyz(16.6324, 19.6364, 3.5301)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817E13 #131681
analogous
#814713 #817E13 #4D8113
triadic
#817E13 #13817E #7E1381
tetradic
#817E13 #138147 #131681 #81134D
square
#817E13 #138147 #131681 #81134D
split-complementary
#817E13 #134D81 #471381
monochromatic
#1B1A04 #4C4A0B #817E13 #B6B21B #E0DB2E

Accessibility & contrast

On white

4.26
#817E13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#817E13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817E13
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817E13#FFFFFF#000000##000000
##817E131.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#8B7C1E
Tritanopia (blue-blind)
#8B756B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #817e13;
/* rgb */ color: rgb(129, 126, 19);
/* oklch */ color: oklch(57.7% 0.119 107.8);
Tailwind
colors: {
  custom: {
    50: '#a9a35d',
    500: '#817e13',
    950: '#000000',
  },
}
SCSS
$custom: #817e13;
$custom-light: #a9a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#817e13",
  "rgb": {
    "r": 129,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 58.364,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.57749,
    "c": 0.11863,
    "h": 107.8
  },
  "luminance": 0.19636
}

Semantic roles & 50–950 ramp

primary
#817E13
secondary
#3A3DB6
accent
#3CF137
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #817E13

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

Preview Lab → · Contrast checker → · Palette generator →

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