#817F14#817F14

#817F14 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.0% C 0.119 H 108.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#817F14
RGBrgb(129, 127, 20)
HSLhsl(59, 73%, 29%)
HSVhsv(59, 84%, 51%)
CMYKcmyk(0%, 1.6%, 84.5%, 49.4%)
CIE-LABlab(51.72, -11.46, 52.46)
CIE-LCHlch(51.72, 53.69, 102.33°)
OKLaboklab(57.99% -0.0377 0.1131)
OKLCHoklch(57.99% 0.119 108.4)
XYZxyz(16.7696, 19.8969, 3.6188)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817F14 #141681
analogous
#814914 #817F14 #4D8114
triadic
#817F14 #14817F #7F1481
tetradic
#817F14 #148149 #141681 #81144D
square
#817F14 #148149 #141681 #81144D
split-complementary
#817F14 #144D81 #491481
monochromatic
#1A1A04 #4C4B0C #817F14 #B6B31C #DFDC30

Accessibility & contrast

On white

4.22
#817F14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#817F14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817F14
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817F14#FFFFFF#000000##000000
##817F141.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8C7D1E
Tritanopia (blue-blind)
#8B766C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #817f14;
/* rgb */ color: rgb(129, 127, 20);
/* oklch */ color: oklch(58.0% 0.119 108.4);
Tailwind
colors: {
  custom: {
    50: '#a9a35e',
    500: '#817f14',
    950: '#000000',
  },
}
SCSS
$custom: #817f14;
$custom-light: #a9a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#817f14",
  "rgb": {
    "r": 129,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 58.899,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.57987,
    "c": 0.11919,
    "h": 108.4
  },
  "luminance": 0.19896
}

Semantic roles & 50–950 ramp

primary
#817F14
secondary
#3B3DB6
accent
#3BF038
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #817F14

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

Preview Lab → · Contrast checker → · Palette generator →

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