#807D4E#807D4E

#807D4E is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.1% C 0.066 H 105.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#807D4E
RGBrgb(128, 125, 78)
HSLhsl(56, 24%, 40%)
HSVhsv(56, 39%, 50%)
CMYKcmyk(0%, 2.3%, 39.1%, 49.8%)
CIE-LABlab(51.62, -6.41, 26.04)
CIE-LCHlch(51.62, 26.82, 103.82°)
OKLaboklab(58.07% -0.0173 0.0638)
OKLCHoklch(58.07% 0.066 105.1)
XYZxyz(17.6111, 19.8069, 10.1016)
Luminance0.1981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807D4E #4E5180
analogous
#80644E #807D4E #6A804E
triadic
#807D4E #4E807D #7D4E80
tetradic
#807D4E #4E8064 #4E5180 #804E6A
square
#807D4E #4E8064 #4E5180 #804E6A
split-complementary
#807D4E #4E6A80 #644E80
monochromatic
#343320 #5A5837 #807D4E #A3A068 #BAB88E

Accessibility & contrast

On white

4.23
#807D4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#807D4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807D4E
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807D4E#FFFFFF#000000##000000
##807D4E1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#857A4B
Deuteranopia (green-blind)
#867C50
Tritanopia (blue-blind)
#877771
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #807d4e;
/* rgb */ color: rgb(128, 125, 78);
/* oklch */ color: oklch(58.1% 0.066 105.1);
Tailwind
colors: {
  custom: {
    50: '#a6a280',
    500: '#807d4e',
    950: '#000000',
  },
}
SCSS
$custom: #807d4e;
$custom-light: #a6a280;
$custom-dark: #000000;
JSON
{
  "hex": "#807d4e",
  "rgb": {
    "r": 128,
    "g": 125,
    "b": 78
  },
  "hsl": {
    "h": 56.4,
    "s": 24.272,
    "l": 40.392
  },
  "oklch": {
    "l": 0.58067,
    "c": 0.06613,
    "h": 105.1
  },
  "luminance": 0.19806
}

Semantic roles & 50–950 ramp

primary
#807D4E
secondary
#8385A7
accent
#6CC167
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#0F0F0A
muted
#7F7E7C

Preview Lab

Preview with #807D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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