#817313#817313

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

Color values

HEX#817313
RGBrgb(129, 115, 19)
HSLhsl(52, 74%, 29%)
HSVhsv(52, 85%, 51%)
CMYKcmyk(0%, 10.9%, 85.3%, 49.4%)
CIE-LABlab(48.23, -4.85, 49.76)
CIE-LCHlch(48.23, 49.99, 95.57°)
OKLaboklab(55.21% -0.0193 0.107)
OKLCHoklch(55.21% 0.109 100.2)
XYZxyz(15.3023, 16.9764, 3.0867)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817313 #132181
analogous
#813C13 #817313 #588113
triadic
#817313 #138173 #731381
tetradic
#817313 #13813C #132181 #811358
square
#817313 #13813C #132181 #811358
split-complementary
#817313 #135881 #3C1381
monochromatic
#1B1804 #4C430B #817313 #B6A31B #E0CA2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##817313#FFFFFF#000000##FFFFFF
##8173131.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #817313;
/* rgb */ color: rgb(129, 115, 19);
/* oklch */ color: oklch(55.2% 0.109 100.2);
Tailwind
colors: {
  custom: {
    50: '#a99a5c',
    500: '#817313',
    950: '#000000',
  },
}
SCSS
$custom: #817313;
$custom-light: #a99a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#817313",
  "rgb": {
    "r": 129,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 52.364,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55207,
    "c": 0.10874,
    "h": 100.2
  },
  "luminance": 0.16976
}

Semantic roles & 50–950 ramp

primary
#817313
secondary
#3A49B6
accent
#4FF137
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #817313

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

Preview Lab → · Contrast checker → · Palette generator →

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