#808D1F#808D1F

#808D1F is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.3% C 0.129 H 116.4°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#808D1F
RGBrgb(128, 141, 31)
HSLhsl(67, 64%, 34%)
HSVhsv(67, 78%, 55%)
CMYKcmyk(9.2%, 0%, 78%, 44.7%)
CIE-LABlab(55.82, -18.91, 52.72)
CIE-LCHlch(55.82, 56.01, 109.73°)
OKLaboklab(61.27% -0.0574 0.1158)
OKLCHoklch(61.27% 0.129 116.4)
XYZxyz(18.6748, 23.7381, 4.8942)
Luminance0.2374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808D1F #2C1F8D
analogous
#8D631F #808D1F #498D1F
triadic
#808D1F #1F808D #8D1F80
tetradic
#808D1F #1F8D63 #2C1F8D #8D1F49
square
#808D1F #1F8D63 #2C1F8D #8D1F49
split-complementary
#808D1F #1F498D #631F8D
monochromatic
#252909 #525B14 #808D1F #AEBF2A #C8D84E

Accessibility & contrast

On white

3.65
#808D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#808D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808D1F
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808D1F#FFFFFF#000000##000000
##808D1F1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978503
Deuteranopia (green-blind)
#968629
Tritanopia (blue-blind)
#888578
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808d1f;
/* rgb */ color: rgb(128, 141, 31);
/* oklch */ color: oklch(61.3% 0.129 116.4);
Tailwind
colors: {
  custom: {
    50: '#a8ae64',
    500: '#808d1f',
    950: '#000000',
  },
}
SCSS
$custom: #808d1f;
$custom-light: #a8ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#808d1f",
  "rgb": {
    "r": 128,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 67.091,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.61271,
    "c": 0.12921,
    "h": 116.4
  },
  "luminance": 0.23738
}

Semantic roles & 50–950 ramp

primary
#808D1F
secondary
#5A4DBB
accent
#41E754
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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