#808D2D#808D2D

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

Color values

HEX#808D2D
RGBrgb(128, 141, 45)
HSLhsl(68, 52%, 36%)
HSVhsv(68, 68%, 55%)
CMYKcmyk(9.2%, 0%, 68.1%, 44.7%)
CIE-LABlab(55.92, -18.14, 47.52)
CIE-LCHlch(55.92, 50.87, 110.89°)
OKLaboklab(61.37% -0.0539 0.1072)
OKLCHoklch(61.37% 0.12 116.7)
XYZxyz(18.9010, 23.8286, 6.0858)
Luminance0.2383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808D2D #3A2D8D
analogous
#8D6A2D #808D2D #508D2D
triadic
#808D2D #2D808D #8D2D80
tetradic
#808D2D #2D8D6A #3A2D8D #8D2D50
square
#808D2D #2D8D6A #3A2D8D #8D2D50
split-complementary
#808D2D #2D508D #6A2D8D
monochromatic
#2C300F #565F1E #808D2D #AABB3C #C0CE66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808D2D#FFFFFF#000000##000000
##808D2D1.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)
#97861F
Deuteranopia (green-blind)
#958734
Tritanopia (blue-blind)
#88857A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808d2d;
/* rgb */ color: rgb(128, 141, 45);
/* oklch */ color: oklch(61.4% 0.120 116.7);
Tailwind
colors: {
  custom: {
    50: '#a7ae6c',
    500: '#808d2d',
    950: '#000000',
  },
}
SCSS
$custom: #808d2d;
$custom-light: #a7ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#808d2d",
  "rgb": {
    "r": 128,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 68.125,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61373,
    "c": 0.12003,
    "h": 116.7
  },
  "luminance": 0.23828
}

Semantic roles & 50–950 ramp

primary
#808D2D
secondary
#6C61B5
accent
#4DDB60
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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