#808451#808451

#808451 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.7% C 0.072 H 112.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#808451
RGBrgb(128, 132, 81)
HSLhsl(65, 24%, 42%)
HSVhsv(65, 39%, 52%)
CMYKcmyk(3%, 0%, 38.6%, 48.2%)
CIE-LABlab(53.69, -9.91, 27.05)
CIE-LCHlch(53.69, 28.81, 110.12°)
OKLaboklab(59.73% -0.0271 0.0663)
OKLCHoklch(59.73% 0.072 112.2)
XYZxyz(18.6387, 21.6861, 10.9869)
Luminance0.2169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808451 #555184
analogous
#846F51 #808451 #678451
triadic
#808451 #518084 #845180
tetradic
#808451 #51846F #555184 #845167
square
#808451 #51846F #555184 #845167
split-complementary
#808451 #516784 #6F5184
monochromatic
#363822 #5B5E3A #808451 #A1A56D #B9BD93

Accessibility & contrast

On white

3.93
#808451 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#808451 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808451
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808451#FFFFFF#000000##000000
##8084511.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B804D
Deuteranopia (green-blind)
#8B8153
Tritanopia (blue-blind)
#867E77
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #808451;
/* rgb */ color: rgb(128, 132, 81);
/* oklch */ color: oklch(59.7% 0.072 112.2);
Tailwind
colors: {
  custom: {
    50: '#a6a782',
    500: '#808451',
    950: '#000000',
  },
}
SCSS
$custom: #808451;
$custom-light: #a6a782;
$custom-dark: #000000;
JSON
{
  "hex": "#808451",
  "rgb": {
    "r": 128,
    "g": 132,
    "b": 81
  },
  "hsl": {
    "h": 64.706,
    "s": 23.944,
    "l": 41.765
  },
  "oklch": {
    "l": 0.59731,
    "c": 0.07159,
    "h": 112.2
  },
  "luminance": 0.21686
}

Semantic roles & 50–950 ramp

primary
#808451
secondary
#8A87AA
accent
#67C06E
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F0F0A
muted
#7F7F7C

Preview Lab

Preview with #808451

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

Preview Lab → · Contrast checker → · Palette generator →

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