#808E1F#808E1F

#808E1F is a mid, vivid yellow. Relative luminance 0.240; OKLCH L 61.5% C 0.130 H 116.8°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#808E1F
RGBrgb(128, 142, 31)
HSLhsl(68, 64%, 34%)
HSVhsv(68, 78%, 56%)
CMYKcmyk(9.9%, 0%, 78.2%, 44.3%)
CIE-LABlab(56.12, -19.43, 53.00)
CIE-LCHlch(56.12, 56.45, 110.13°)
OKLaboklab(61.51% -0.0588 0.1163)
OKLCHoklch(61.51% 0.13 116.8)
XYZxyz(18.8229, 24.0344, 4.9436)
Luminance0.2403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808E1F #2D1F8E
analogous
#8E651F #808E1F #498E1F
triadic
#808E1F #1F808E #8E1F80
tetradic
#808E1F #1F8E65 #2D1F8E #8E1F49
square
#808E1F #1F8E65 #2D1F8E #8E1F49
split-complementary
#808E1F #1F498E #651F8E
monochromatic
#252A09 #535C14 #808E1F #ADC02A #C7D94F

Accessibility & contrast

On white

3.62
#808E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#808E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808E1F
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808E1F#FFFFFF#000000##000000
##808E1F1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988602
Deuteranopia (green-blind)
#978729
Tritanopia (blue-blind)
#888679
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #808e1f;
/* rgb */ color: rgb(128, 142, 31);
/* oklch */ color: oklch(61.5% 0.130 116.8);
Tailwind
colors: {
  custom: {
    50: '#a8af65',
    500: '#808e1f',
    950: '#000000',
  },
}
SCSS
$custom: #808e1f;
$custom-light: #a8af65;
$custom-dark: #000000;
JSON
{
  "hex": "#808e1f",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 67.568,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.6151,
    "c": 0.13036,
    "h": 116.8
  },
  "luminance": 0.24034
}

Semantic roles & 50–950 ramp

primary
#808E1F
secondary
#5B4DBB
accent
#41E756
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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