#808D2B#808D2B

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

Color values

HEX#808D2B
RGBrgb(128, 141, 43)
HSLhsl(68, 53%, 36%)
HSVhsv(68, 70%, 55%)
CMYKcmyk(9.2%, 0%, 69.5%, 44.7%)
CIE-LABlab(55.90, -18.27, 48.34)
CIE-LCHlch(55.90, 51.67, 110.70°)
OKLaboklab(61.36% -0.0545 0.1086)
OKLCHoklch(61.36% 0.122 116.6)
XYZxyz(18.8634, 23.8136, 5.8878)
Luminance0.2381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808D2B #382B8D
analogous
#8D692B #808D2B #4F8D2B
triadic
#808D2B #2B808D #8D2B80
tetradic
#808D2B #2B8D69 #382B8D #8D2B4F
square
#808D2B #2B8D69 #382B8D #8D2B4F
split-complementary
#808D2B #2B4F8D #692B8D
monochromatic
#2B2F0E #555E1D #808D2B #ABBC39 #C1CF63

Accessibility & contrast

On white

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

On black

5.76
#808D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808D2B
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808D2B#FFFFFF#000000##000000
##808D2B1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861C
Deuteranopia (green-blind)
#968732
Tritanopia (blue-blind)
#888579
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808d2b;
/* rgb */ color: rgb(128, 141, 43);
/* oklch */ color: oklch(61.4% 0.122 116.6);
Tailwind
colors: {
  custom: {
    50: '#a8ae6a',
    500: '#808d2b',
    950: '#000000',
  },
}
SCSS
$custom: #808d2b;
$custom-light: #a8ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#808d2b",
  "rgb": {
    "r": 128,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 67.959,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61356,
    "c": 0.12152,
    "h": 116.6
  },
  "luminance": 0.23813
}

Semantic roles & 50–950 ramp

primary
#808D2B
secondary
#6A5EB6
accent
#4BDD5E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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