#6C802E#6C802E

#6C802E is a mid, moderate yellow-green. Relative luminance 0.188; OKLCH L 56.6% C 0.110 H 121.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#6C802E
RGBrgb(108, 128, 46)
HSLhsl(75, 47%, 34%)
HSVhsv(75, 64%, 50%)
CMYKcmyk(15.6%, 0%, 64.1%, 49.8%)
CIE-LABlab(50.48, -20.02, 40.87)
CIE-LCHlch(50.48, 45.51, 116.10°)
OKLaboklab(56.62% -0.0578 0.0938)
OKLCHoklch(56.62% 0.11 121.6)
XYZxyz(14.3968, 18.8237, 5.4591)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C802E #422E80
analogous
#806B2E #6C802E #43802E
triadic
#6C802E #2E6C80 #802E6C
tetradic
#6C802E #2E806B #422E80 #802E43
square
#6C802E #2E806B #422E80 #802E43
split-complementary
#6C802E #2E4380 #6B2E80
monochromatic
#20260E #46531E #6C802E #92AD3E #AEC762

Accessibility & contrast

On white

4.41
#6C802E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#6C802E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C802E
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C802E#FFFFFF#000000##000000
##6C802E1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887924
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#727A6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6c802e;
/* rgb */ color: rgb(108, 128, 46);
/* oklch */ color: oklch(56.6% 0.110 121.6);
Tailwind
colors: {
  custom: {
    50: '#98a46b',
    500: '#6c802e',
    950: '#000000',
  },
}
SCSS
$custom: #6c802e;
$custom-light: #98a46b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c802e",
  "rgb": {
    "r": 108,
    "g": 128,
    "b": 46
  },
  "hsl": {
    "h": 74.634,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56623,
    "c": 0.1102,
    "h": 121.6
  },
  "luminance": 0.18824
}

Semantic roles & 50–950 ramp

primary
#6C802E
secondary
#705DAD
accent
#51D772
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F07
muted
#7E7F7A

Preview Lab

Preview with #6C802E

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

Preview Lab → · Contrast checker → · Palette generator →

#6C802E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva