#808D3D#808D3D

#808D3D is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.5% C 0.106 H 117.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#808D3D
RGBrgb(128, 141, 61)
HSLhsl(70, 40%, 40%)
HSVhsv(70, 57%, 55%)
CMYKcmyk(9.2%, 0%, 56.7%, 44.7%)
CIE-LABlab(56.06, -16.89, 40.39)
CIE-LCHlch(56.06, 43.78, 112.69°)
OKLaboklab(61.54% -0.0487 0.0943)
OKLCHoklch(61.54% 0.106 117.3)
XYZxyz(19.2696, 23.9761, 8.0267)
Luminance0.2398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808D3D #4A3D8D
analogous
#8D723D #808D3D #588D3D
triadic
#808D3D #3D808D #8D3D80
tetradic
#808D3D #3D8D72 #4A3D8D #8D3D58
square
#808D3D #3D8D72 #4A3D8D #8D3D58
split-complementary
#808D3D #3D588D #723D8D
monochromatic
#323818 #59622B #808D3D #A5B453 #BBC77D

Accessibility & contrast

On white

3.62
#808D3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#808D3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808D3D
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808D3D#FFFFFF#000000##000000
##808D3D1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968635
Deuteranopia (green-blind)
#948742
Tritanopia (blue-blind)
#87867B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #808d3d;
/* rgb */ color: rgb(128, 141, 61);
/* oklch */ color: oklch(61.5% 0.106 117.3);
Tailwind
colors: {
  custom: {
    50: '#a7ae75',
    500: '#808d3d',
    950: '#000000',
  },
}
SCSS
$custom: #808d3d;
$custom-light: #a7ae75;
$custom-dark: #000000;
JSON
{
  "hex": "#808d3d",
  "rgb": {
    "r": 128,
    "g": 141,
    "b": 61
  },
  "hsl": {
    "h": 69.75,
    "s": 39.604,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6154,
    "c": 0.10612,
    "h": 117.3
  },
  "luminance": 0.23976
}

Semantic roles & 50–950 ramp

primary
#808D3D
secondary
#7F75B1
accent
#58CF6C
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#101008
muted
#7F7F7B

Preview Lab

Preview with #808D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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