#817013#817013

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

Color values

HEX#817013
RGBrgb(129, 112, 19)
HSLhsl(51, 74%, 29%)
HSVhsv(51, 85%, 51%)
CMYKcmyk(0%, 13.2%, 85.3%, 49.4%)
CIE-LABlab(47.37, -3.15, 49.02)
CIE-LCHlch(47.37, 49.12, 93.68°)
OKLaboklab(54.53% -0.0145 0.1054)
OKLCHoklch(54.53% 0.106 97.8)
XYZxyz(14.9658, 16.3033, 2.9745)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817013 #132481
analogous
#813913 #817013 #5B8113
triadic
#817013 #138170 #701381
tetradic
#817013 #138139 #132481 #81135B
square
#817013 #138139 #132481 #81135B
split-complementary
#817013 #135B81 #391381
monochromatic
#1B1704 #4C420B #817013 #B69E1B #E0C52E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##817013#FFFFFF#000000##FFFFFF
##8170131.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)
#7C6D00
Deuteranopia (green-blind)
#81731B
Tritanopia (blue-blind)
#8C675F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #817013;
/* rgb */ color: rgb(129, 112, 19);
/* oklch */ color: oklch(54.5% 0.106 97.8);
Tailwind
colors: {
  custom: {
    50: '#a9985b',
    500: '#817013',
    950: '#000000',
  },
}
SCSS
$custom: #817013;
$custom-light: #a9985b;
$custom-dark: #000000;
JSON
{
  "hex": "#817013",
  "rgb": {
    "r": 129,
    "g": 112,
    "b": 19
  },
  "hsl": {
    "h": 50.727,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54525,
    "c": 0.1064,
    "h": 97.8
  },
  "luminance": 0.16302
}

Semantic roles & 50–950 ramp

primary
#817013
secondary
#3A4DB6
accent
#54F137
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #817013

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

Preview Lab → · Contrast checker → · Palette generator →

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