#808C1E#808C1E

#808C1E is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 61.0% C 0.129 H 115.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#808C1E
RGBrgb(128, 140, 30)
HSLhsl(67, 65%, 33%)
HSVhsv(67, 79%, 55%)
CMYKcmyk(8.6%, 0%, 78.6%, 45.1%)
CIE-LABlab(55.52, -18.44, 52.78)
CIE-LCHlch(55.52, 55.90, 109.26°)
OKLaboklab(61.03% -0.0562 0.1157)
OKLCHoklch(61.03% 0.129 115.9)
XYZxyz(18.5150, 23.4394, 4.7769)
Luminance0.2344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808C1E #2A1E8C
analogous
#8C611E #808C1E #498C1E
triadic
#808C1E #1E808C #8C1E80
tetradic
#808C1E #1E8C61 #2A1E8C #8C1E49
square
#808C1E #1E8C61 #2A1E8C #8C1E49
split-complementary
#808C1E #1E498C #611E8C
monochromatic
#242708 #525A13 #808C1E #AEBE29 #C9D94C

Accessibility & contrast

On white

3.69
#808C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#808C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808C1E
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808C1E#FFFFFF#000000##000000
##808C1E1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968401
Deuteranopia (green-blind)
#958628
Tritanopia (blue-blind)
#898478
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #808c1e;
/* rgb */ color: rgb(128, 140, 30);
/* oklch */ color: oklch(61.0% 0.129 115.9);
Tailwind
colors: {
  custom: {
    50: '#a8ad64',
    500: '#808c1e',
    950: '#000000',
  },
}
SCSS
$custom: #808c1e;
$custom-light: #a8ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#808c1e",
  "rgb": {
    "r": 128,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 66.545,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61026,
    "c": 0.1286,
    "h": 115.9
  },
  "luminance": 0.23439
}

Semantic roles & 50–950 ramp

primary
#808C1E
secondary
#574BBB
accent
#40E852
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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