#808D1B#808D1B

#808D1B is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.2% C 0.131 H 116.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#808D1B
RGBrgb(128, 141, 27)
HSLhsl(67, 68%, 33%)
HSVhsv(67, 81%, 55%)
CMYKcmyk(9.2%, 0%, 80.9%, 44.7%)
CIE-LABlab(55.80, -19.08, 53.98)
CIE-LCHlch(55.80, 57.25, 109.47°)
OKLaboklab(61.25% -0.0582 0.1177)
OKLCHoklch(61.25% 0.131 116.3)
XYZxyz(18.6253, 23.7184, 4.6336)
Luminance0.2372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808D1B #281B8D
analogous
#8D611B #808D1B #478D1B
triadic
#808D1B #1B808D #8D1B80
tetradic
#808D1B #1B8D61 #281B8D #8D1B47
square
#808D1B #1B8D61 #281B8D #8D1B47
split-complementary
#808D1B #1B478D #611B8D
monochromatic
#232607 #515A11 #808D1B #AFC025 #CBDC47

Accessibility & contrast

On white

3.66
#808D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#808D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808D1B
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808D1B#FFFFFF#000000##000000
##808D1B1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#968626
Tritanopia (blue-blind)
#898478
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808d1b;
/* rgb */ color: rgb(128, 141, 27);
/* oklch */ color: oklch(61.2% 0.131 116.3);
Tailwind
colors: {
  custom: {
    50: '#a8ae63',
    500: '#808d1b',
    950: '#000000',
  },
}
SCSS
$custom: #808d1b;
$custom-light: #a8ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#808d1b",
  "rgb": {
    "r": 128,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 66.842,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61249,
    "c": 0.13128,
    "h": 116.3
  },
  "luminance": 0.23718
}

Semantic roles & 50–950 ramp

primary
#808D1B
secondary
#5446BD
accent
#3DEB51
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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