#817B19#817B19

#817B19 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.1% C 0.113 H 105.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#817B19
RGBrgb(129, 123, 25)
HSLhsl(57, 68%, 30%)
HSVhsv(57, 81%, 51%)
CMYKcmyk(0%, 4.7%, 80.6%, 49.4%)
CIE-LABlab(50.57, -9.10, 49.95)
CIE-LCHlch(50.57, 50.77, 100.32°)
OKLaboklab(57.08% -0.0307 0.1087)
OKLCHoklch(57.08% 0.113 105.8)
XYZxyz(16.3124, 18.9039, 3.7091)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817B19 #191F81
analogous
#814719 #817B19 #538119
triadic
#817B19 #19817B #7B1981
tetradic
#817B19 #198147 #191F81 #811953
square
#817B19 #198147 #191F81 #811953
split-complementary
#817B19 #195381 #471981
monochromatic
#1A1905 #4E4A0F #817B19 #B4AC23 #D9D03B

Accessibility & contrast

On white

4.39
#817B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#817B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817B19
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817B19#FFFFFF#000000##000000
##817B191.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#897A21
Tritanopia (blue-blind)
#8B7269
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #817b19;
/* rgb */ color: rgb(129, 123, 25);
/* oklch */ color: oklch(57.1% 0.113 105.8);
Tailwind
colors: {
  custom: {
    50: '#a9a05f',
    500: '#817b19',
    950: '#000000',
  },
}
SCSS
$custom: #817b19;
$custom-light: #a9a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#817b19",
  "rgb": {
    "r": 129,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 56.538,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.57081,
    "c": 0.11291,
    "h": 105.8
  },
  "luminance": 0.18903
}

Semantic roles & 50–950 ramp

primary
#817B19
secondary
#4148B5
accent
#47EA3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817B19

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

Preview Lab → · Contrast checker → · Palette generator →

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