#817D19#817D19

#817D19 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.5% C 0.115 H 107.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#817D19
RGBrgb(129, 125, 25)
HSLhsl(58, 68%, 30%)
HSVhsv(58, 81%, 51%)
CMYKcmyk(0%, 3.1%, 80.6%, 49.4%)
CIE-LABlab(51.16, -10.20, 50.47)
CIE-LCHlch(51.16, 51.49, 101.42°)
OKLaboklab(57.55% -0.0338 0.1098)
OKLCHoklch(57.55% 0.115 107.1)
XYZxyz(16.5630, 19.4051, 3.7926)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817D19 #191D81
analogous
#814919 #817D19 #518119
triadic
#817D19 #19817D #7D1981
tetradic
#817D19 #198149 #191D81 #811951
square
#817D19 #198149 #191D81 #811951
split-complementary
#817D19 #195181 #491981
monochromatic
#1A1A05 #4E4B0F #817D19 #B4AF23 #D9D33B

Accessibility & contrast

On white

4.30
#817D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#817D19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817D19
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817D19#FFFFFF#000000##000000
##817D191.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#8A7C22
Tritanopia (blue-blind)
#8B746B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #817d19;
/* rgb */ color: rgb(129, 125, 25);
/* oklch */ color: oklch(57.5% 0.115 107.1);
Tailwind
colors: {
  custom: {
    50: '#a9a260',
    500: '#817d19',
    950: '#000000',
  },
}
SCSS
$custom: #817d19;
$custom-light: #a9a260;
$custom-dark: #000000;
JSON
{
  "hex": "#817d19",
  "rgb": {
    "r": 129,
    "g": 125,
    "b": 25
  },
  "hsl": {
    "h": 57.692,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.57546,
    "c": 0.11486,
    "h": 107.1
  },
  "luminance": 0.19405
}

Semantic roles & 50–950 ramp

primary
#817D19
secondary
#4145B5
accent
#44EA3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #817D19

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

Preview Lab → · Contrast checker → · Palette generator →

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