#808751#808751

#808751 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.4% C 0.076 H 114.7°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#808751
RGBrgb(128, 135, 81)
HSLhsl(68, 25%, 42%)
HSVhsv(68, 40%, 53%)
CMYKcmyk(5.2%, 0%, 40%, 47.1%)
CIE-LABlab(54.57, -11.54, 28.17)
CIE-LCHlch(54.57, 30.44, 112.29°)
OKLaboklab(60.43% -0.0317 0.0688)
OKLCHoklch(60.43% 0.076 114.7)
XYZxyz(19.0514, 22.5114, 11.1245)
Luminance0.2251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808751 #585187
analogous
#877351 #808751 #658751
triadic
#808751 #518087 #875180
tetradic
#808751 #518773 #585187 #875165
square
#808751 #518773 #585187 #875165
split-complementary
#808751 #516587 #735187
monochromatic
#373B23 #5C613A #808751 #A0A86E #B9BF94

Accessibility & contrast

On white

3.82
#808751 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#808751 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808751
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808751#FFFFFF#000000##000000
##8087511.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E824D
Deuteranopia (green-blind)
#8E8354
Tritanopia (blue-blind)
#86817A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #808751;
/* rgb */ color: rgb(128, 135, 81);
/* oklch */ color: oklch(60.4% 0.076 114.7);
Tailwind
colors: {
  custom: {
    50: '#a6a982',
    500: '#808751',
    950: '#000000',
  },
}
SCSS
$custom: #808751;
$custom-light: #a6a982;
$custom-dark: #000000;
JSON
{
  "hex": "#808751",
  "rgb": {
    "r": 128,
    "g": 135,
    "b": 81
  },
  "hsl": {
    "h": 67.778,
    "s": 25,
    "l": 42.353
  },
  "oklch": {
    "l": 0.60427,
    "c": 0.0758,
    "h": 114.7
  },
  "luminance": 0.22511
}

Semantic roles & 50–950 ramp

primary
#808751
secondary
#8D88AC
accent
#66C172
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #808751

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

Preview Lab → · Contrast checker → · Palette generator →

#808751 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva