#817513#817513

#817513 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.7% C 0.110 H 101.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#817513
RGBrgb(129, 117, 19)
HSLhsl(53, 74%, 29%)
HSVhsv(53, 85%, 51%)
CMYKcmyk(0%, 9.3%, 85.3%, 49.4%)
CIE-LABlab(48.81, -5.97, 50.25)
CIE-LCHlch(48.81, 50.60, 96.78°)
OKLaboklab(55.67% -0.0225 0.1081)
OKLCHoklch(55.67% 0.11 101.7)
XYZxyz(15.5329, 17.4375, 3.1636)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817513 #131F81
analogous
#813E13 #817513 #568113
triadic
#817513 #138175 #751381
tetradic
#817513 #13813E #131F81 #811356
square
#817513 #13813E #131F81 #811356
split-complementary
#817513 #135681 #3E1381
monochromatic
#1B1804 #4C450B #817513 #B6A51B #E0CD2E

Accessibility & contrast

On white

4.68
#817513 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#817513 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817513
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817513#FFFFFF#000000##FFFFFF
##8175131.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#84761C
Tritanopia (blue-blind)
#8C6C63
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #817513;
/* rgb */ color: rgb(129, 117, 19);
/* oklch */ color: oklch(55.7% 0.110 101.7);
Tailwind
colors: {
  custom: {
    50: '#a99c5c',
    500: '#817513',
    950: '#000000',
  },
}
SCSS
$custom: #817513;
$custom-light: #a99c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#817513",
  "rgb": {
    "r": 129,
    "g": 117,
    "b": 19
  },
  "hsl": {
    "h": 53.455,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55665,
    "c": 0.11039,
    "h": 101.7
  },
  "luminance": 0.17437
}

Semantic roles & 50–950 ramp

primary
#817513
secondary
#3A47B6
accent
#4BF137
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #817513

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

Preview Lab → · Contrast checker → · Palette generator →

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