#808D2C#808D2C

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

Color values

HEX#808D2C
RGBrgb(128, 141, 44)
HSLhsl(68, 52%, 36%)
HSVhsv(68, 69%, 55%)
CMYKcmyk(9.2%, 0%, 68.8%, 44.7%)
CIE-LABlab(55.91, -18.20, 47.93)
CIE-LCHlch(55.91, 51.27, 110.79°)
OKLaboklab(61.37% -0.0542 0.1079)
OKLCHoklch(61.37% 0.121 116.7)
XYZxyz(18.8820, 23.8210, 5.9856)
Luminance0.2382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808D2C #392C8D
analogous
#8D6A2C #808D2C #508D2C
triadic
#808D2C #2C808D #8D2C80
tetradic
#808D2C #2C8D6A #392C8D #8D2C50
square
#808D2C #2C8D6A #392C8D #8D2C50
split-complementary
#808D2C #2C508D #6A2C8D
monochromatic
#2B300F #565E1D #808D2C #AABC3B #C1CF65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808D2C#FFFFFF#000000##000000
##808D2C1.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)
#97861E
Deuteranopia (green-blind)
#968733
Tritanopia (blue-blind)
#888579
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808d2c;
/* rgb */ color: rgb(128, 141, 44);
/* oklch */ color: oklch(61.4% 0.121 116.7);
Tailwind
colors: {
  custom: {
    50: '#a7ae6b',
    500: '#808d2c',
    950: '#000000',
  },
}
SCSS
$custom: #808d2c;
$custom-light: #a7ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#808d2c",
  "rgb": {
    "r": 128,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 68.041,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61365,
    "c": 0.12078,
    "h": 116.7
  },
  "luminance": 0.23821
}

Semantic roles & 50–950 ramp

primary
#808D2C
secondary
#6B60B5
accent
#4CDC5F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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