#808166#808166

#808166 is a mid, muted yellow. Relative luminance 0.212; OKLCH L 59.5% C 0.039 H 109.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#808166
RGBrgb(128, 129, 102)
HSLhsl(62, 12%, 45%)
HSVhsv(62, 21%, 51%)
CMYKcmyk(0.8%, 0%, 20.9%, 49.4%)
CIE-LABlab(53.22, -5.24, 14.56)
CIE-LCHlch(53.22, 15.47, 109.81°)
OKLaboklab(59.49% -0.013 0.0372)
OKLCHoklch(59.49% 0.039 109.3)
XYZxyz(19.1505, 21.2492, 15.6605)
Luminance0.2125 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808166 #676681
analogous
#817466 #808166 #728166
triadic
#808166 #668081 #816680
tetradic
#808166 #668174 #676681 #816672
square
#808166 #668174 #676681 #816672
split-complementary
#808166 #667281 #746681
monochromatic
#3C3D30 #5E5F4B #808166 #9E9F85 #B9BAA8

Accessibility & contrast

On white

4.00
#808166 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#808166 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808166
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808166#FFFFFF#000000##000000
##8081661.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#867F64
Deuteranopia (green-blind)
#868067
Tritanopia (blue-blind)
#847E7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #808166;
/* rgb */ color: rgb(128, 129, 102);
/* oklch */ color: oklch(59.5% 0.039 109.3);
Tailwind
colors: {
  custom: {
    50: '#a5a591',
    500: '#808166',
    950: '#000000',
  },
}
SCSS
$custom: #808166;
$custom-light: #a5a591;
$custom-dark: #000000;
JSON
{
  "hex": "#808166",
  "rgb": {
    "r": 128,
    "g": 129,
    "b": 102
  },
  "hsl": {
    "h": 62.222,
    "s": 11.688,
    "l": 45.294
  },
  "oklch": {
    "l": 0.59487,
    "c": 0.03936,
    "h": 109.3
  },
  "luminance": 0.21249
}

Semantic roles & 50–950 ramp

primary
#808166
secondary
#9A9AA9
accent
#73B576
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#0F0F0C
muted
#7F7F7D

Preview Lab

Preview with #808166

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

Preview Lab → · Contrast checker → · Palette generator →

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