#817314#817314

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

Color values

HEX#817314
RGBrgb(129, 115, 20)
HSLhsl(52, 73%, 29%)
HSVhsv(52, 84%, 51%)
CMYKcmyk(0%, 10.9%, 84.5%, 49.4%)
CIE-LABlab(48.23, -4.82, 49.47)
CIE-LCHlch(48.23, 49.70, 95.56°)
OKLaboklab(55.21% -0.0191 0.1066)
OKLCHoklch(55.21% 0.108 100.2)
XYZxyz(15.3110, 16.9799, 3.1326)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817314 #142281
analogous
#813D14 #817314 #598114
triadic
#817314 #148173 #731481
tetradic
#817314 #14813D #142281 #811459
square
#817314 #14813D #142281 #811459
split-complementary
#817314 #145981 #3D1481
monochromatic
#1A1804 #4C440C #817314 #B6A21C #DFC930

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##817314#FFFFFF#000000##FFFFFF
##8173141.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)
#83751C
Tritanopia (blue-blind)
#8C6A62
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #817314;
/* rgb */ color: rgb(129, 115, 20);
/* oklch */ color: oklch(55.2% 0.108 100.2);
Tailwind
colors: {
  custom: {
    50: '#a99a5c',
    500: '#817314',
    950: '#000000',
  },
}
SCSS
$custom: #817314;
$custom-light: #a99a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#817314",
  "rgb": {
    "r": 129,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 52.294,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55212,
    "c": 0.10828,
    "h": 100.2
  },
  "luminance": 0.16979
}

Semantic roles & 50–950 ramp

primary
#817314
secondary
#3B4BB6
accent
#50F038
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #817314

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

Preview Lab → · Contrast checker → · Palette generator →

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