#808B1E#808B1E

#808B1E is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 60.8% C 0.127 H 115.4°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#808B1E
RGBrgb(128, 139, 30)
HSLhsl(66, 64%, 33%)
HSVhsv(66, 78%, 55%)
CMYKcmyk(7.9%, 0%, 78.4%, 45.5%)
CIE-LABlab(55.23, -17.92, 52.50)
CIE-LCHlch(55.23, 55.48, 108.85°)
OKLaboklab(60.79% -0.0547 0.1151)
OKLCHoklch(60.79% 0.127 115.4)
XYZxyz(18.3696, 23.1485, 4.7285)
Luminance0.2315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808B1E #291E8B
analogous
#8B5F1E #808B1E #498B1E
triadic
#808B1E #1E808B #8B1E80
tetradic
#808B1E #1E8B5F #291E8B #8B1E49
square
#808B1E #1E8B5F #291E8B #8B1E49
split-complementary
#808B1E #1E498B #5F1E8B
monochromatic
#232608 #525913 #808B1E #AEBD29 #CAD84B

Accessibility & contrast

On white

3.73
#808B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#808B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808B1E
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808B1E#FFFFFF#000000##000000
##808B1E1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958401
Deuteranopia (green-blind)
#958528
Tritanopia (blue-blind)
#898377
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #808b1e;
/* rgb */ color: rgb(128, 139, 30);
/* oklch */ color: oklch(60.8% 0.127 115.4);
Tailwind
colors: {
  custom: {
    50: '#a8ac64',
    500: '#808b1e',
    950: '#000000',
  },
}
SCSS
$custom: #808b1e;
$custom-light: #a8ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#808b1e",
  "rgb": {
    "r": 128,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 66.055,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60788,
    "c": 0.12745,
    "h": 115.4
  },
  "luminance": 0.23148
}

Semantic roles & 50–950 ramp

primary
#808B1E
secondary
#554ABB
accent
#40E751
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #808B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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