#817317#817317

#817317 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.2% C 0.107 H 100.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#817317
RGBrgb(129, 115, 23)
HSLhsl(52, 70%, 30%)
HSVhsv(52, 82%, 51%)
CMYKcmyk(0%, 10.9%, 82.2%, 49.4%)
CIE-LABlab(48.25, -4.71, 48.53)
CIE-LCHlch(48.25, 48.76, 95.54°)
OKLaboklab(55.23% -0.0186 0.1052)
OKLCHoklch(55.23% 0.107 100)
XYZxyz(15.3394, 16.9912, 3.2821)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817317 #172581
analogous
#813E17 #817317 #5A8117
triadic
#817317 #178173 #731781
tetradic
#817317 #17813E #172581 #81175A
square
#817317 #17813E #172581 #81175A
split-complementary
#817317 #175A81 #3E1781
monochromatic
#1A1705 #4D450E #817317 #B5A120 #DBC637

Accessibility & contrast

On white

4.77
#817317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#817317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817317
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817317#FFFFFF#000000##FFFFFF
##8173171.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#83751E
Tritanopia (blue-blind)
#8C6A62
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #817317;
/* rgb */ color: rgb(129, 115, 23);
/* oklch */ color: oklch(55.2% 0.107 100.0);
Tailwind
colors: {
  custom: {
    50: '#a99a5d',
    500: '#817317',
    950: '#000000',
  },
}
SCSS
$custom: #817317;
$custom-light: #a99a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#817317",
  "rgb": {
    "r": 129,
    "g": 115,
    "b": 23
  },
  "hsl": {
    "h": 52.075,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55228,
    "c": 0.10682,
    "h": 100
  },
  "luminance": 0.1699
}

Semantic roles & 50–950 ramp

primary
#817317
secondary
#3E4EB5
accent
#53ED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817317

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

Preview Lab → · Contrast checker → · Palette generator →

#817317 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva