#817915#817915

#817915 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.6% C 0.113 H 104.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#817915
RGBrgb(129, 121, 21)
HSLhsl(56, 72%, 29%)
HSVhsv(56, 84%, 51%)
CMYKcmyk(0%, 6.2%, 83.7%, 49.4%)
CIE-LABlab(49.97, -8.14, 50.67)
CIE-LCHlch(49.97, 51.32, 99.13°)
OKLaboklab(56.6% -0.0284 0.1094)
OKLCHoklch(56.6% 0.113 104.5)
XYZxyz(16.0267, 18.3967, 3.4160)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817915 #151D81
analogous
#814315 #817915 #538115
triadic
#817915 #158179 #791581
tetradic
#817915 #158143 #151D81 #811553
square
#817915 #158143 #151D81 #811553
split-complementary
#817915 #155381 #431581
monochromatic
#1A1904 #4C480C #817915 #B6AA1E #DED133

Accessibility & contrast

On white

4.49
#817915 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#817915 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817915
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817915#FFFFFF#000000##000000
##8179151.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#87791E
Tritanopia (blue-blind)
#8B7067
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #817915;
/* rgb */ color: rgb(129, 121, 21);
/* oklch */ color: oklch(56.6% 0.113 104.5);
Tailwind
colors: {
  custom: {
    50: '#a99f5d',
    500: '#817915',
    950: '#000000',
  },
}
SCSS
$custom: #817915;
$custom-light: #a99f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#817915",
  "rgb": {
    "r": 129,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 55.556,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56596,
    "c": 0.11301,
    "h": 104.5
  },
  "luminance": 0.18396
}

Semantic roles & 50–950 ramp

primary
#817915
secondary
#3C45B6
accent
#47EF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817915

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

Preview Lab → · Contrast checker → · Palette generator →

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