#808B1D#808B1D

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

Color values

HEX#808B1D
RGBrgb(128, 139, 29)
HSLhsl(66, 65%, 33%)
HSVhsv(66, 79%, 55%)
CMYKcmyk(7.9%, 0%, 79.1%, 45.5%)
CIE-LABlab(55.22, -17.96, 52.82)
CIE-LCHlch(55.22, 55.79, 108.78°)
OKLaboklab(60.78% -0.0549 0.1156)
OKLCHoklch(60.78% 0.128 115.4)
XYZxyz(18.3570, 23.1434, 4.6623)
Luminance0.2314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808B1D #281D8B
analogous
#8B5F1D #808B1D #498B1D
triadic
#808B1D #1D808B #8B1D80
tetradic
#808B1D #1D8B5F #281D8B #8B1D49
square
#808B1D #1D8B5F #281D8B #8B1D49
split-complementary
#808B1D #1D498B #5F1D8B
monochromatic
#232608 #515812 #808B1D #AFBE28 #CBD949

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808B1D#FFFFFF#000000##000000
##808B1D1.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)
#958400
Deuteranopia (green-blind)
#958527
Tritanopia (blue-blind)
#898377
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #808b1d;
/* rgb */ color: rgb(128, 139, 29);
/* oklch */ color: oklch(60.8% 0.128 115.4);
Tailwind
colors: {
  custom: {
    50: '#a8ac63',
    500: '#808b1d',
    950: '#000000',
  },
}
SCSS
$custom: #808b1d;
$custom-light: #a8ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#808b1d",
  "rgb": {
    "r": 128,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 66,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.60782,
    "c": 0.12799,
    "h": 115.4
  },
  "luminance": 0.23143
}

Semantic roles & 50–950 ramp

primary
#808B1D
secondary
#5449BB
accent
#3FE850
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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