#817813#817813

#817813 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.4% C 0.113 H 103.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#817813
RGBrgb(129, 120, 19)
HSLhsl(55, 74%, 29%)
HSVhsv(55, 85%, 51%)
CMYKcmyk(0%, 7%, 85.3%, 49.4%)
CIE-LABlab(49.67, -7.65, 50.99)
CIE-LCHlch(49.67, 51.56, 98.53°)
OKLaboklab(56.36% -0.0272 0.1097)
OKLCHoklch(56.36% 0.113 103.9)
XYZxyz(15.8880, 18.1478, 3.2819)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817813 #131C81
analogous
#814113 #817813 #538113
triadic
#817813 #138178 #781381
tetradic
#817813 #138141 #131C81 #811353
square
#817813 #138141 #131C81 #811353
split-complementary
#817813 #135381 #411381
monochromatic
#1B1904 #4C460B #817813 #B6AA1B #E0D22E

Accessibility & contrast

On white

4.54
#817813 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#817813 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817813
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817813#FFFFFF#000000##000000
##8178131.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#87781C
Tritanopia (blue-blind)
#8B6F66
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #817813;
/* rgb */ color: rgb(129, 120, 19);
/* oklch */ color: oklch(56.4% 0.113 103.9);
Tailwind
colors: {
  custom: {
    50: '#a99e5c',
    500: '#817813',
    950: '#000000',
  },
}
SCSS
$custom: #817813;
$custom-light: #a99e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#817813",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 19
  },
  "hsl": {
    "h": 55.091,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.56355,
    "c": 0.113,
    "h": 103.9
  },
  "luminance": 0.18147
}

Semantic roles & 50–950 ramp

primary
#817813
secondary
#3A44B6
accent
#46F137
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817813

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

Preview Lab → · Contrast checker → · Palette generator →

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