#817C14#817C14

#817C14 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.3% C 0.116 H 106.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#817C14
RGBrgb(129, 124, 20)
HSLhsl(57, 73%, 29%)
HSVhsv(57, 84%, 51%)
CMYKcmyk(0%, 3.9%, 84.5%, 49.4%)
CIE-LABlab(50.84, -9.83, 51.71)
CIE-LCHlch(50.84, 52.63, 100.76°)
OKLaboklab(57.29% -0.0331 0.1114)
OKLCHoklch(57.29% 0.116 106.6)
XYZxyz(16.3879, 19.1336, 3.4916)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817C14 #141981
analogous
#814614 #817C14 #508114
triadic
#817C14 #14817C #7C1481
tetradic
#817C14 #148146 #141981 #811450
square
#817C14 #148146 #141981 #811450
split-complementary
#817C14 #145081 #461481
monochromatic
#1A1904 #4C490C #817C14 #B6AF1C #DFD730

Accessibility & contrast

On white

4.35
#817C14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#817C14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817C14
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817C14#FFFFFF#000000##000000
##817C141.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#8A7B1E
Tritanopia (blue-blind)
#8B7369
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #817c14;
/* rgb */ color: rgb(129, 124, 20);
/* oklch */ color: oklch(57.3% 0.116 106.6);
Tailwind
colors: {
  custom: {
    50: '#a9a15d',
    500: '#817c14',
    950: '#000000',
  },
}
SCSS
$custom: #817c14;
$custom-light: #a9a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#817c14",
  "rgb": {
    "r": 129,
    "g": 124,
    "b": 20
  },
  "hsl": {
    "h": 57.248,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.57287,
    "c": 0.11627,
    "h": 106.6
  },
  "luminance": 0.19133
}

Semantic roles & 50–950 ramp

primary
#817C14
secondary
#3B40B6
accent
#40F038
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817C14

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

Preview Lab → · Contrast checker → · Palette generator →

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