#817815#817815

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

Color values

HEX#817815
RGBrgb(129, 120, 21)
HSLhsl(55, 72%, 29%)
HSVhsv(55, 84%, 51%)
CMYKcmyk(0%, 7%, 83.7%, 49.4%)
CIE-LABlab(49.68, -7.58, 50.42)
CIE-LCHlch(49.68, 50.98, 98.55°)
OKLaboklab(56.36% -0.0268 0.1089)
OKLCHoklch(56.36% 0.112 103.8)
XYZxyz(15.9058, 18.1549, 3.3757)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817815 #151E81
analogous
#814215 #817815 #548115
triadic
#817815 #158178 #781581
tetradic
#817815 #158142 #151E81 #811554
square
#817815 #158142 #151E81 #811554
split-complementary
#817815 #155481 #421581
monochromatic
#1A1804 #4C470C #817815 #B6A91E #DECF33

Accessibility & contrast

On white

4.53
#817815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##817815#FFFFFF#000000##000000
##8178151.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #817815;
/* rgb */ color: rgb(129, 120, 21);
/* oklch */ color: oklch(56.4% 0.112 103.8);
Tailwind
colors: {
  custom: {
    50: '#a99e5d',
    500: '#817815',
    950: '#000000',
  },
}
SCSS
$custom: #817815;
$custom-light: #a99e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#817815",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 55,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56365,
    "c": 0.1121,
    "h": 103.8
  },
  "luminance": 0.18154
}

Semantic roles & 50–950 ramp

primary
#817815
secondary
#3C46B6
accent
#48EF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817815

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

Preview Lab → · Contrast checker → · Palette generator →

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