#808B1B#808B1B

#808B1B is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 60.8% C 0.129 H 115.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#808B1B
RGBrgb(128, 139, 27)
HSLhsl(66, 67%, 33%)
HSVhsv(66, 81%, 55%)
CMYKcmyk(7.9%, 0%, 80.6%, 45.5%)
CIE-LABlab(55.21, -18.05, 53.44)
CIE-LCHlch(55.21, 56.41, 108.66°)
OKLaboklab(60.77% -0.0553 0.1166)
OKLCHoklch(60.77% 0.129 115.4)
XYZxyz(18.3331, 23.1339, 4.5362)
Luminance0.2313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808B1B #261B8B
analogous
#8B5E1B #808B1B #488B1B
triadic
#808B1B #1B808B #8B1B80
tetradic
#808B1B #1B8B5E #261B8B #8B1B48
square
#808B1B #1B8B5E #261B8B #8B1B48
split-complementary
#808B1B #1B488B #5E1B8B
monochromatic
#222507 #515811 #808B1B #AFBE25 #CCDB45

Accessibility & contrast

On white

3.73
#808B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#808B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808B1B
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808B1B#FFFFFF#000000##000000
##808B1B1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#958526
Tritanopia (blue-blind)
#898277
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #808b1b;
/* rgb */ color: rgb(128, 139, 27);
/* oklch */ color: oklch(60.8% 0.129 115.4);
Tailwind
colors: {
  custom: {
    50: '#a8ac62',
    500: '#808b1b',
    950: '#000000',
  },
}
SCSS
$custom: #808b1b;
$custom-light: #a8ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#808b1b",
  "rgb": {
    "r": 128,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 65.893,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60771,
    "c": 0.12902,
    "h": 115.4
  },
  "luminance": 0.23134
}

Semantic roles & 50–950 ramp

primary
#808B1B
secondary
#5145BC
accent
#3DEA4E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808B1B

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

Preview Lab → · Contrast checker → · Palette generator →

#808B1B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva