#817E19#817E19

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

Color values

HEX#817E19
RGBrgb(129, 126, 25)
HSLhsl(58, 68%, 30%)
HSVhsv(58, 81%, 51%)
CMYKcmyk(0%, 2.3%, 80.6%, 49.4%)
CIE-LABlab(51.45, -10.74, 50.73)
CIE-LCHlch(51.45, 51.86, 101.95°)
OKLaboklab(57.78% -0.0353 0.1103)
OKLCHoklch(57.78% 0.116 107.7)
XYZxyz(16.6903, 19.6596, 3.8350)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817E19 #191C81
analogous
#814A19 #817E19 #508119
triadic
#817E19 #19817E #7E1981
tetradic
#817E19 #19814A #191C81 #811950
square
#817E19 #19814A #191C81 #811950
split-complementary
#817E19 #195081 #4A1981
monochromatic
#1A1A05 #4E4C0F #817E19 #B4B023 #D9D53B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##817E19#FFFFFF#000000##000000
##817E191.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)
#8B7C22
Tritanopia (blue-blind)
#8B756B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #817e19;
/* rgb */ color: rgb(129, 126, 25);
/* oklch */ color: oklch(57.8% 0.116 107.7);
Tailwind
colors: {
  custom: {
    50: '#a9a360',
    500: '#817e19',
    950: '#000000',
  },
}
SCSS
$custom: #817e19;
$custom-light: #a9a360;
$custom-dark: #000000;
JSON
{
  "hex": "#817e19",
  "rgb": {
    "r": 129,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 58.269,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.57779,
    "c": 0.11585,
    "h": 107.7
  },
  "luminance": 0.19659
}

Semantic roles & 50–950 ramp

primary
#817E19
secondary
#4144B5
accent
#42EA3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #817E19

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

Preview Lab → · Contrast checker → · Palette generator →

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