#817310#817310

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

Color values

HEX#817310
RGBrgb(129, 115, 16)
HSLhsl(53, 78%, 28%)
HSVhsv(53, 88%, 51%)
CMYKcmyk(0%, 10.9%, 87.6%, 49.4%)
CIE-LABlab(48.22, -4.94, 50.58)
CIE-LCHlch(48.22, 50.82, 95.58°)
OKLaboklab(55.19% -0.0198 0.1082)
OKLCHoklch(55.19% 0.11 100.4)
XYZxyz(15.2783, 16.9668, 2.9603)
Luminance0.1697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817310 #101E81
analogous
#813A10 #817310 #568110
triadic
#817310 #108173 #731081
tetradic
#817310 #10813A #101E81 #811056
square
#817310 #10813A #101E81 #811056
split-complementary
#817310 #105681 #3A1081
monochromatic
#1B1803 #4B4209 #817310 #B7A417 #E4CD27

Accessibility & contrast

On white

4.78
#817310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#817310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817310
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817310#FFFFFF#000000##FFFFFF
##8173101.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#837519
Tritanopia (blue-blind)
#8C6A62
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #817310;
/* rgb */ color: rgb(129, 115, 16);
/* oklch */ color: oklch(55.2% 0.110 100.4);
Tailwind
colors: {
  custom: {
    50: '#a99a5b',
    500: '#817310',
    950: '#000000',
  },
}
SCSS
$custom: #817310;
$custom-light: #a99a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#817310",
  "rgb": {
    "r": 129,
    "g": 115,
    "b": 16
  },
  "hsl": {
    "h": 52.566,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55194,
    "c": 0.10999,
    "h": 100.4
  },
  "luminance": 0.16966
}

Semantic roles & 50–950 ramp

primary
#817310
secondary
#3646B7
accent
#4BF433
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #817310

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

Preview Lab → · Contrast checker → · Palette generator →

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