#817846#817846

#817846 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.9% C 0.070 H 99.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#817846
RGBrgb(129, 120, 70)
HSLhsl(51, 30%, 39%)
HSVhsv(51, 46%, 51%)
CMYKcmyk(0%, 7%, 45.7%, 49.4%)
CIE-LABlab(50.15, -4.10, 28.63)
CIE-LCHlch(50.15, 28.92, 98.14°)
OKLaboklab(56.88% -0.0114 0.0693)
OKLCHoklch(56.88% 0.07 99.3)
XYZxyz(16.8756, 18.5428, 8.4833)
Luminance0.1854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817846 #464F81
analogous
#815B46 #817846 #6D8146
triadic
#817846 #468178 #784681
tetradic
#817846 #46815B #464F81 #81466D
square
#817846 #46815B #464F81 #81466D
split-complementary
#817846 #466D81 #5B4681
monochromatic
#322E1B #595330 #817846 #A79C5D #BDB485

Accessibility & contrast

On white

4.46
#817846 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#817846 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817846
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817846#FFFFFF#000000##000000
##8178461.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#817542
Deuteranopia (green-blind)
#837948
Tritanopia (blue-blind)
#89716C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #817846;
/* rgb */ color: rgb(129, 120, 70);
/* oklch */ color: oklch(56.9% 0.070 99.3);
Tailwind
colors: {
  custom: {
    50: '#a79e7a',
    500: '#817846',
    950: '#000000',
  },
}
SCSS
$custom: #817846;
$custom-light: #a79e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#817846",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 70
  },
  "hsl": {
    "h": 50.847,
    "s": 29.648,
    "l": 39.02
  },
  "oklch": {
    "l": 0.56883,
    "c": 0.07018,
    "h": 99.3
  },
  "luminance": 0.18542
}

Semantic roles & 50–950 ramp

primary
#817846
secondary
#7B82A8
accent
#71C662
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#100E09
muted
#7F7E7B

Preview Lab

Preview with #817846

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

Preview Lab → · Contrast checker → · Palette generator →

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