#817515#817515

#817515 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.7% C 0.109 H 101.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#817515
RGBrgb(129, 117, 21)
HSLhsl(53, 72%, 29%)
HSVhsv(53, 84%, 51%)
CMYKcmyk(0%, 9.3%, 83.7%, 49.4%)
CIE-LABlab(48.82, -5.91, 49.66)
CIE-LCHlch(48.82, 50.01, 96.78°)
OKLaboklab(55.68% -0.0221 0.1072)
OKLCHoklch(55.68% 0.109 101.7)
XYZxyz(15.5507, 17.4446, 3.2574)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817515 #152181
analogous
#813F15 #817515 #578115
triadic
#817515 #158175 #751581
tetradic
#817515 #15813F #152181 #811557
square
#817515 #15813F #152181 #811557
split-complementary
#817515 #155781 #3F1581
monochromatic
#1A1804 #4C450C #817515 #B6A51E #DECB33

Accessibility & contrast

On white

4.68
#817515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#817515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817515
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817515#FFFFFF#000000##FFFFFF
##8175151.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#84761D
Tritanopia (blue-blind)
#8C6C64
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #817515;
/* rgb */ color: rgb(129, 117, 21);
/* oklch */ color: oklch(55.7% 0.109 101.7);
Tailwind
colors: {
  custom: {
    50: '#a99c5d',
    500: '#817515',
    950: '#000000',
  },
}
SCSS
$custom: #817515;
$custom-light: #a99c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#817515",
  "rgb": {
    "r": 129,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 53.333,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55675,
    "c": 0.10948,
    "h": 101.7
  },
  "luminance": 0.17444
}

Semantic roles & 50–950 ramp

primary
#817515
secondary
#3C4AB6
accent
#4DEF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817515

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

Preview Lab → · Contrast checker → · Palette generator →

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