#808D2E#808D2E

#808D2E is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.4% C 0.119 H 116.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#808D2E
RGBrgb(128, 141, 46)
HSLhsl(68, 51%, 37%)
HSVhsv(68, 67%, 55%)
CMYKcmyk(9.2%, 0%, 67.4%, 44.7%)
CIE-LABlab(55.92, -18.07, 47.11)
CIE-LCHlch(55.92, 50.46, 110.99°)
OKLaboklab(61.38% -0.0536 0.1065)
OKLCHoklch(61.38% 0.119 116.7)
XYZxyz(18.9205, 23.8364, 6.1884)
Luminance0.2384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808D2E #3B2E8D
analogous
#8D6B2E #808D2E #518D2E
triadic
#808D2E #2E808D #8D2E80
tetradic
#808D2E #2E8D6B #3B2E8D #8D2E51
square
#808D2E #2E8D6B #3B2E8D #8D2E51
split-complementary
#808D2E #2E518D #6B2E8D
monochromatic
#2C3110 #565F1F #808D2E #AABB3D #C0CE68

Accessibility & contrast

On white

3.64
#808D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#808D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808D2E
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808D2E#FFFFFF#000000##000000
##808D2E1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978621
Deuteranopia (green-blind)
#958735
Tritanopia (blue-blind)
#88857A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808d2e;
/* rgb */ color: rgb(128, 141, 46);
/* oklch */ color: oklch(61.4% 0.119 116.7);
Tailwind
colors: {
  custom: {
    50: '#a7ae6c',
    500: '#808d2e',
    950: '#000000',
  },
}
SCSS
$custom: #808d2e;
$custom-light: #a7ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#808d2e",
  "rgb": {
    "r": 128,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 68.211,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61382,
    "c": 0.11926,
    "h": 116.7
  },
  "luminance": 0.23836
}

Semantic roles & 50–950 ramp

primary
#808D2E
secondary
#6E62B5
accent
#4EDA61
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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