#808D2F#808D2F

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

Color values

HEX#808D2F
RGBrgb(128, 141, 47)
HSLhsl(68, 50%, 37%)
HSVhsv(68, 67%, 55%)
CMYKcmyk(9.2%, 0%, 66.7%, 44.7%)
CIE-LABlab(55.93, -18.00, 46.69)
CIE-LCHlch(55.93, 50.04, 111.08°)
OKLaboklab(61.39% -0.0533 0.1058)
OKLCHoklch(61.39% 0.118 116.8)
XYZxyz(18.9405, 23.8444, 6.2934)
Luminance0.2384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808D2F #3C2F8D
analogous
#8D6B2F #808D2F #518D2F
triadic
#808D2F #2F808D #8D2F80
tetradic
#808D2F #2F8D6B #3C2F8D #8D2F51
square
#808D2F #2F8D6B #3C2F8D #8D2F51
split-complementary
#808D2F #2F518D #6B2F8D
monochromatic
#2D3110 #565F20 #808D2F #AABB3E #BFCD69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808D2F#FFFFFF#000000##000000
##808D2F1.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)
#978622
Deuteranopia (green-blind)
#958736
Tritanopia (blue-blind)
#88857A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808d2f;
/* rgb */ color: rgb(128, 141, 47);
/* oklch */ color: oklch(61.4% 0.118 116.8);
Tailwind
colors: {
  custom: {
    50: '#a7ae6d',
    500: '#808d2f',
    950: '#000000',
  },
}
SCSS
$custom: #808d2f;
$custom-light: #a7ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#808d2f",
  "rgb": {
    "r": 128,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 68.298,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61391,
    "c": 0.11848,
    "h": 116.8
  },
  "luminance": 0.23844
}

Semantic roles & 50–950 ramp

primary
#808D2F
secondary
#6F64B4
accent
#4EDA62
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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