#807A5F#807A5F

#807A5F is a mid, muted yellow. Relative luminance 0.193; OKLCH L 57.7% C 0.040 H 97.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#807A5F
RGBrgb(128, 122, 95)
HSLhsl(49, 15%, 44%)
HSVhsv(49, 26%, 50%)
CMYKcmyk(0%, 4.7%, 25.8%, 49.8%)
CIE-LABlab(51.08, -2.38, 15.65)
CIE-LCHlch(51.08, 15.83, 98.65°)
OKLaboklab(57.74% -0.0049 0.0397)
OKLCHoklch(57.74% 0.04 97)
XYZxyz(17.9272, 19.3348, 13.6119)
Luminance0.1933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807A5F #5F6580
analogous
#80695F #807A5F #75805F
triadic
#807A5F #5F807A #7A5F80
tetradic
#807A5F #5F8069 #5F6580 #805F75
square
#807A5F #5F8069 #5F6580 #805F75
split-complementary
#807A5F #5F7580 #695F80
monochromatic
#3A372B #5D5945 #807A5F #9F997D #B9B4A1

Accessibility & contrast

On white

4.31
#807A5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#807A5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807A5F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807A5F#FFFFFF#000000##000000
##807A5F1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80785D
Deuteranopia (green-blind)
#817B60
Tritanopia (blue-blind)
#857673
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807a5f;
/* rgb */ color: rgb(128, 122, 95);
/* oklch */ color: oklch(57.7% 0.040 97.0);
Tailwind
colors: {
  custom: {
    50: '#a5a08c',
    500: '#807a5f',
    950: '#000000',
  },
}
SCSS
$custom: #807a5f;
$custom-light: #a5a08c;
$custom-dark: #000000;
JSON
{
  "hex": "#807a5f",
  "rgb": {
    "r": 128,
    "g": 122,
    "b": 95
  },
  "hsl": {
    "h": 49.091,
    "s": 14.798,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57743,
    "c": 0.04004,
    "h": 97
  },
  "luminance": 0.19334
}

Semantic roles & 50–950 ramp

primary
#807A5F
secondary
#9397A8
accent
#7DB870
background
#FAF9F8
surface
#F4F2F0
border
#CECCCB
text
#0F0E0C
muted
#7F7E7D

Preview Lab

Preview with #807A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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