#817E14#817E14

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

Color values

HEX#817E14
RGBrgb(129, 126, 20)
HSLhsl(58, 73%, 29%)
HSVhsv(58, 84%, 51%)
CMYKcmyk(0%, 2.3%, 84.5%, 49.4%)
CIE-LABlab(51.43, -10.92, 52.21)
CIE-LCHlch(51.43, 53.34, 101.81°)
OKLaboklab(57.75% -0.0362 0.1125)
OKLCHoklch(57.75% 0.118 107.8)
XYZxyz(16.6411, 19.6399, 3.5760)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817E14 #141781
analogous
#814814 #817E14 #4E8114
triadic
#817E14 #14817E #7E1481
tetradic
#817E14 #148148 #141781 #81144E
square
#817E14 #148148 #141781 #81144E
split-complementary
#817E14 #144E81 #481481
monochromatic
#1A1A04 #4C4A0C #817E14 #B6B21C #DFDA30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##817E14#FFFFFF#000000##000000
##817E141.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: #817e14;
/* rgb */ color: rgb(129, 126, 20);
/* oklch */ color: oklch(57.8% 0.118 107.8);
Tailwind
colors: {
  custom: {
    50: '#a9a35e',
    500: '#817e14',
    950: '#000000',
  },
}
SCSS
$custom: #817e14;
$custom-light: #a9a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#817e14",
  "rgb": {
    "r": 129,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 58.349,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.57754,
    "c": 0.11821,
    "h": 107.8
  },
  "luminance": 0.19639
}

Semantic roles & 50–950 ramp

primary
#817E14
secondary
#3B3EB6
accent
#3DF038
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #817E14

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

Preview Lab → · Contrast checker → · Palette generator →

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