#807B5F#807B5F

#807B5F is a mid, muted yellow. Relative luminance 0.196; OKLCH L 58.0% C 0.041 H 99.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#807B5F
RGBrgb(128, 123, 95)
HSLhsl(51, 15%, 44%)
HSVhsv(51, 26%, 50%)
CMYKcmyk(0%, 3.9%, 25.8%, 49.8%)
CIE-LABlab(51.36, -2.95, 16.04)
CIE-LCHlch(51.36, 16.30, 100.42°)
OKLaboklab(57.97% -0.0065 0.0407)
OKLCHoklch(57.97% 0.041 99.1)
XYZxyz(18.0506, 19.5817, 13.6530)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807B5F #5F6480
analogous
#806A5F #807B5F #74805F
triadic
#807B5F #5F807B #7B5F80
tetradic
#807B5F #5F806A #5F6480 #805F74
square
#807B5F #5F806A #5F6480 #805F74
split-complementary
#807B5F #5F7480 #6A5F80
monochromatic
#3A372B #5D5945 #807B5F #9F9A7D #B9B5A1

Accessibility & contrast

On white

4.27
#807B5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#807B5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807B5F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807B5F#FFFFFF#000000##000000
##807B5F1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81795D
Deuteranopia (green-blind)
#827B60
Tritanopia (blue-blind)
#857773
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #807b5f;
/* rgb */ color: rgb(128, 123, 95);
/* oklch */ color: oklch(58.0% 0.041 99.1);
Tailwind
colors: {
  custom: {
    50: '#a5a18c',
    500: '#807b5f',
    950: '#000000',
  },
}
SCSS
$custom: #807b5f;
$custom-light: #a5a18c;
$custom-dark: #000000;
JSON
{
  "hex": "#807b5f",
  "rgb": {
    "r": 128,
    "g": 123,
    "b": 95
  },
  "hsl": {
    "h": 50.909,
    "s": 14.798,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57967,
    "c": 0.0412,
    "h": 99.1
  },
  "luminance": 0.19581
}

Semantic roles & 50–950 ramp

primary
#807B5F
secondary
#9396A8
accent
#7BB870
background
#FAF9F8
surface
#F4F2F0
border
#CECCCB
text
#0F0E0C
muted
#7F7E7D

Preview Lab

Preview with #807B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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