#808E0F#808E0F

#808E0F is a mid, vivid yellow. Relative luminance 0.240; OKLCH L 61.4% C 0.137 H 116.6°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#808E0F
RGBrgb(128, 142, 15)
HSLhsl(67, 81%, 31%)
HSVhsv(67, 89%, 56%)
CMYKcmyk(9.9%, 0%, 89.4%, 44.3%)
CIE-LABlab(56.06, -19.98, 57.23)
CIE-LCHlch(56.06, 60.62, 109.25°)
OKLaboklab(61.44% -0.0614 0.1227)
OKLCHoklch(61.44% 0.137 116.6)
XYZxyz(18.6619, 23.9700, 4.0954)
Luminance0.2397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808E0F #1D0F8E
analogous
#8E5C0F #808E0F #408E0F
triadic
#808E0F #0F808E #8E0F80
tetradic
#808E0F #0F8E5C #1D0F8E #8E0F40
square
#808E0F #0F8E5C #1D0F8E #8E0F40
split-complementary
#808E0F #0F408E #5C0F8E
monochromatic
#1C1F03 #4E5709 #808E0F #B2C515 #D4E92E

Accessibility & contrast

On white

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

On black

5.79
#808E0F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808E0F
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808E0F#FFFFFF#000000##000000
##808E0F1.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#97871F
Tritanopia (blue-blind)
#898578
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808e0f;
/* rgb */ color: rgb(128, 142, 15);
/* oklch */ color: oklch(61.4% 0.137 116.6);
Tailwind
colors: {
  custom: {
    50: '#a9ae5f',
    500: '#808e0f',
    950: '#000000',
  },
}
SCSS
$custom: #808e0f;
$custom-light: #a9ae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#808e0f",
  "rgb": {
    "r": 128,
    "g": 142,
    "b": 15
  },
  "hsl": {
    "h": 66.614,
    "s": 80.892,
    "l": 30.784
  },
  "oklch": {
    "l": 0.61438,
    "c": 0.13718,
    "h": 116.6
  },
  "luminance": 0.2397
}

Semantic roles & 50–950 ramp

primary
#808E0F
secondary
#4536C3
accent
#31F746
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #808E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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