#807F4E#807F4E

#807F4E is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.5% C 0.069 H 107.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#807F4E
RGBrgb(128, 127, 78)
HSLhsl(59, 24%, 40%)
HSVhsv(59, 39%, 50%)
CMYKcmyk(0%, 0.8%, 39.1%, 49.8%)
CIE-LABlab(52.20, -7.52, 26.78)
CIE-LCHlch(52.20, 27.82, 105.69°)
OKLaboklab(58.53% -0.0205 0.0655)
OKLCHoklch(58.53% 0.069 107.3)
XYZxyz(17.8668, 20.3184, 10.1869)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807F4E #4E4F80
analogous
#80664E #807F4E #68804E
triadic
#807F4E #4E807F #7F4E80
tetradic
#807F4E #4E8066 #4E4F80 #804E68
square
#807F4E #4E8066 #4E4F80 #804E68
split-complementary
#807F4E #4E6880 #664E80
monochromatic
#343420 #5A5937 #807F4E #A3A268 #BAB98E

Accessibility & contrast

On white

4.15
#807F4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#807F4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807F4E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807F4E#FFFFFF#000000##000000
##807F4E1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#877B4A
Deuteranopia (green-blind)
#887D50
Tritanopia (blue-blind)
#877973
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #807f4e;
/* rgb */ color: rgb(128, 127, 78);
/* oklch */ color: oklch(58.5% 0.069 107.3);
Tailwind
colors: {
  custom: {
    50: '#a6a480',
    500: '#807f4e',
    950: '#000000',
  },
}
SCSS
$custom: #807f4e;
$custom-light: #a6a480;
$custom-dark: #000000;
JSON
{
  "hex": "#807f4e",
  "rgb": {
    "r": 128,
    "g": 127,
    "b": 78
  },
  "hsl": {
    "h": 58.8,
    "s": 24.272,
    "l": 40.392
  },
  "oklch": {
    "l": 0.58525,
    "c": 0.06865,
    "h": 107.3
  },
  "luminance": 0.20318
}

Semantic roles & 50–950 ramp

primary
#807F4E
secondary
#8384A7
accent
#69C167
background
#FAFAF7
surface
#F4F3EE
border
#CECDC9
text
#0F0F0A
muted
#7F7F7C

Preview Lab

Preview with #807F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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