#808D0E#808D0E

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

Color values

HEX#808D0E
RGBrgb(128, 141, 14)
HSLhsl(66, 82%, 30%)
HSVhsv(66, 90%, 55%)
CMYKcmyk(9.2%, 0%, 90.1%, 44.7%)
CIE-LABlab(55.76, -19.49, 57.18)
CIE-LCHlch(55.76, 60.41, 108.83°)
OKLaboklab(61.2% -0.0602 0.1224)
OKLCHoklch(61.2% 0.136 116.2)
XYZxyz(18.5068, 23.6709, 4.0094)
Luminance0.2367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808D0E #1B0E8D
analogous
#8D5B0E #808D0E #408D0E
triadic
#808D0E #0E808D #8D0E80
tetradic
#808D0E #0E8D5B #1B0E8D #8D0E40
square
#808D0E #0E8D5B #1B0E8D #8D0E40
split-complementary
#808D0E #0E408D #5B0E8D
monochromatic
#1B1E03 #4D5508 #808D0E #B3C514 #D6EA2B

Accessibility & contrast

On white

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

On black

5.73
#808D0E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808D0E
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808D0E#FFFFFF#000000##000000
##808D0E1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#97861E
Tritanopia (blue-blind)
#898478
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808d0e;
/* rgb */ color: rgb(128, 141, 14);
/* oklch */ color: oklch(61.2% 0.136 116.2);
Tailwind
colors: {
  custom: {
    50: '#a9ae5e',
    500: '#808d0e',
    950: '#000000',
  },
}
SCSS
$custom: #808d0e;
$custom-light: #a9ae5e;
$custom-dark: #000000;
JSON
{
  "hex": "#808d0e",
  "rgb": {
    "r": 128,
    "g": 141,
    "b": 14
  },
  "hsl": {
    "h": 66.142,
    "s": 81.935,
    "l": 30.392
  },
  "oklch": {
    "l": 0.61195,
    "c": 0.13639,
    "h": 116.2
  },
  "luminance": 0.23671
}

Semantic roles & 50–950 ramp

primary
#808D0E
secondary
#4335C2
accent
#30F844
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #808D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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