#808C2D#808C2D

#808C2D is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.1% C 0.119 H 116.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#808C2D
RGBrgb(128, 140, 45)
HSLhsl(68, 51%, 36%)
HSVhsv(68, 68%, 55%)
CMYKcmyk(8.6%, 0%, 67.9%, 45.1%)
CIE-LABlab(55.62, -17.62, 47.22)
CIE-LCHlch(55.62, 50.40, 110.46°)
OKLaboklab(61.14% -0.0525 0.1066)
OKLCHoklch(61.14% 0.119 116.2)
XYZxyz(18.7543, 23.5351, 6.0369)
Luminance0.2354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808C2D #392D8C
analogous
#8C692D #808C2D #518C2D
triadic
#808C2D #2D808C #8C2D80
tetradic
#808C2D #2D8C69 #392D8C #8C2D51
square
#808C2D #2D8C69 #392D8C #8C2D51
split-complementary
#808C2D #2D518C #692D8C
monochromatic
#2B2F0F #565E1E #808C2D #AABA3C #C1CE66

Accessibility & contrast

On white

3.68
#808C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#808C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #808C2D
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##808C2D#FFFFFF#000000##000000
##808C2D1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968520
Deuteranopia (green-blind)
#958634
Tritanopia (blue-blind)
#888479
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #808c2d;
/* rgb */ color: rgb(128, 140, 45);
/* oklch */ color: oklch(61.1% 0.119 116.2);
Tailwind
colors: {
  custom: {
    50: '#a7ad6b',
    500: '#808c2d',
    950: '#000000',
  },
}
SCSS
$custom: #808c2d;
$custom-light: #a7ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#808c2d",
  "rgb": {
    "r": 128,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 67.579,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61135,
    "c": 0.11881,
    "h": 116.2
  },
  "luminance": 0.23535
}

Semantic roles & 50–950 ramp

primary
#808C2D
secondary
#6B60B4
accent
#4DDB5F
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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