#807C4E#807C4E

#807C4E is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.8% C 0.065 H 104.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#807C4E
RGBrgb(128, 124, 78)
HSLhsl(55, 24%, 40%)
HSVhsv(55, 39%, 50%)
CMYKcmyk(0%, 3.1%, 39.1%, 49.8%)
CIE-LABlab(51.33, -5.85, 25.67)
CIE-LCHlch(51.33, 26.33, 102.84°)
OKLaboklab(57.84% -0.0156 0.063)
OKLCHoklch(57.84% 0.065 104)
XYZxyz(17.4851, 19.5550, 10.0597)
Luminance0.1956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807C4E #4E5280
analogous
#80634E #807C4E #6B804E
triadic
#807C4E #4E807C #7C4E80
tetradic
#807C4E #4E8063 #4E5280 #804E6B
square
#807C4E #4E8063 #4E5280 #804E6B
split-complementary
#807C4E #4E6B80 #634E80
monochromatic
#343220 #5A5737 #807C4E #A39E68 #BAB78E

Accessibility & contrast

On white

4.28
#807C4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#807C4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807C4E
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807C4E#FFFFFF#000000##000000
##807C4E1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84794B
Deuteranopia (green-blind)
#857B50
Tritanopia (blue-blind)
#877670
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807c4e;
/* rgb */ color: rgb(128, 124, 78);
/* oklch */ color: oklch(57.8% 0.065 104.0);
Tailwind
colors: {
  custom: {
    50: '#a6a180',
    500: '#807c4e',
    950: '#000000',
  },
}
SCSS
$custom: #807c4e;
$custom-light: #a6a180;
$custom-dark: #000000;
JSON
{
  "hex": "#807c4e",
  "rgb": {
    "r": 128,
    "g": 124,
    "b": 78
  },
  "hsl": {
    "h": 55.2,
    "s": 24.272,
    "l": 40.392
  },
  "oklch": {
    "l": 0.57839,
    "c": 0.0649,
    "h": 104
  },
  "luminance": 0.19555
}

Semantic roles & 50–950 ramp

primary
#807C4E
secondary
#8386A7
accent
#6EC167
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#0F0F0A
muted
#7F7E7C

Preview Lab

Preview with #807C4E

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

Preview Lab → · Contrast checker → · Palette generator →

#807C4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva