#817017#817017

#817017 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.5% C 0.104 H 97.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#817017
RGBrgb(129, 112, 23)
HSLhsl(50, 70%, 30%)
HSVhsv(50, 82%, 51%)
CMYKcmyk(0%, 13.2%, 82.2%, 49.4%)
CIE-LABlab(47.39, -3.01, 47.77)
CIE-LCHlch(47.39, 47.86, 93.61°)
OKLaboklab(54.55% -0.0138 0.1036)
OKLCHoklch(54.55% 0.104 97.6)
XYZxyz(15.0029, 16.3181, 3.1699)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817017 #172881
analogous
#813B17 #817017 #5D8117
triadic
#817017 #178170 #701781
tetradic
#817017 #17813B #172881 #81175D
square
#817017 #17813B #172881 #81175D
split-complementary
#817017 #175D81 #3B1781
monochromatic
#1A1705 #4D430E #817017 #B59D20 #DBC137

Accessibility & contrast

On white

4.93
#817017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#817017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817017
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817017#FFFFFF#000000##FFFFFF
##8170171.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#81731E
Tritanopia (blue-blind)
#8C675F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #817017;
/* rgb */ color: rgb(129, 112, 23);
/* oklch */ color: oklch(54.5% 0.104 97.6);
Tailwind
colors: {
  custom: {
    50: '#a9985d',
    500: '#817017',
    950: '#000000',
  },
}
SCSS
$custom: #817017;
$custom-light: #a9985d;
$custom-dark: #000000;
JSON
{
  "hex": "#817017",
  "rgb": {
    "r": 129,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 50.377,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54546,
    "c": 0.10446,
    "h": 97.6
  },
  "luminance": 0.16317
}

Semantic roles & 50–950 ramp

primary
#817017
secondary
#3E51B5
accent
#58ED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #817017

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

Preview Lab → · Contrast checker → · Palette generator →

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