#808C2E#808C2E

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

Color values

HEX#808C2E
RGBrgb(128, 140, 46)
HSLhsl(68, 51%, 36%)
HSVhsv(68, 67%, 55%)
CMYKcmyk(8.6%, 0%, 67.1%, 45.1%)
CIE-LABlab(55.63, -17.55, 46.80)
CIE-LCHlch(55.63, 49.98, 110.55°)
OKLaboklab(61.14% -0.0522 0.1059)
OKLCHoklch(61.14% 0.118 116.2)
XYZxyz(18.7737, 23.5429, 6.1395)
Luminance0.2354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#808C2E #3A2E8C
analogous
#8C692E #808C2E #518C2E
triadic
#808C2E #2E808C #8C2E80
tetradic
#808C2E #2E8C69 #3A2E8C #8C2E51
square
#808C2E #2E8C69 #3A2E8C #8C2E51
split-complementary
#808C2E #2E518C #692E8C
monochromatic
#2C3010 #565E1F #808C2E #AABA3D #C0CD67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##808C2E#FFFFFF#000000##000000
##808C2E1.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)
#968521
Deuteranopia (green-blind)
#958635
Tritanopia (blue-blind)
#888479
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #808c2e;
/* rgb */ color: rgb(128, 140, 46);
/* oklch */ color: oklch(61.1% 0.118 116.2);
Tailwind
colors: {
  custom: {
    50: '#a7ad6c',
    500: '#808c2e',
    950: '#000000',
  },
}
SCSS
$custom: #808c2e;
$custom-light: #a7ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#808c2e",
  "rgb": {
    "r": 128,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 67.66,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61144,
    "c": 0.11803,
    "h": 116.2
  },
  "luminance": 0.23543
}

Semantic roles & 50–950 ramp

primary
#808C2E
secondary
#6C62B4
accent
#4EDA60
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #808C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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