#817415#817415

#817415 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.4% C 0.109 H 100.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#817415
RGBrgb(129, 116, 21)
HSLhsl(53, 72%, 29%)
HSVhsv(53, 84%, 51%)
CMYKcmyk(0%, 10.1%, 83.7%, 49.4%)
CIE-LABlab(48.53, -5.35, 49.41)
CIE-LCHlch(48.53, 49.70, 96.18°)
OKLaboklab(55.45% -0.0205 0.1067)
OKLCHoklch(55.45% 0.109 100.9)
XYZxyz(15.4348, 17.2128, 3.2187)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817415 #152281
analogous
#813E15 #817415 #588115
triadic
#817415 #158174 #741581
tetradic
#817415 #15813E #152281 #811558
square
#817415 #15813E #152281 #811558
split-complementary
#817415 #155881 #3E1581
monochromatic
#1A1804 #4C450C #817415 #B6A31E #DEC933

Accessibility & contrast

On white

4.73
#817415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#817415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817415
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817415#FFFFFF#000000##FFFFFF
##8174151.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#84751D
Tritanopia (blue-blind)
#8C6B63
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #817415;
/* rgb */ color: rgb(129, 116, 21);
/* oklch */ color: oklch(55.4% 0.109 100.9);
Tailwind
colors: {
  custom: {
    50: '#a99b5d',
    500: '#817415',
    950: '#000000',
  },
}
SCSS
$custom: #817415;
$custom-light: #a99b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#817415",
  "rgb": {
    "r": 129,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 52.778,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55446,
    "c": 0.10864,
    "h": 100.9
  },
  "luminance": 0.17212
}

Semantic roles & 50–950 ramp

primary
#817415
secondary
#3C4BB6
accent
#4FEF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817415

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

Preview Lab → · Contrast checker → · Palette generator →

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