#6C802A#6C802A

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

Color values

HEX#6C802A
RGBrgb(108, 128, 42)
HSLhsl(74, 51%, 33%)
HSVhsv(74, 67%, 50%)
CMYKcmyk(15.6%, 0%, 67.2%, 49.8%)
CIE-LABlab(50.45, -20.34, 42.64)
CIE-LCHlch(50.45, 47.24, 115.50°)
OKLaboklab(56.58% -0.0591 0.097)
OKLCHoklch(56.58% 0.114 121.3)
XYZxyz(14.3216, 18.7937, 5.0631)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C802A #3E2A80
analogous
#80692A #6C802A #41802A
triadic
#6C802A #2A6C80 #802A6C
tetradic
#6C802A #2A8069 #3E2A80 #802A41
square
#6C802A #2A8069 #3E2A80 #802A41
split-complementary
#6C802A #2A4180 #692A80
monochromatic
#1E240C #45521B #6C802A #93AE39 #B0C95B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C802A#FFFFFF#000000##000000
##6C802A1.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)
#88781F
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#72796E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6c802a;
/* rgb */ color: rgb(108, 128, 42);
/* oklch */ color: oklch(56.6% 0.114 121.3);
Tailwind
colors: {
  custom: {
    50: '#98a468',
    500: '#6c802a',
    950: '#000000',
  },
}
SCSS
$custom: #6c802a;
$custom-light: #98a468;
$custom-dark: #000000;
JSON
{
  "hex": "#6c802a",
  "rgb": {
    "r": 108,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 73.953,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56583,
    "c": 0.11356,
    "h": 121.3
  },
  "luminance": 0.18794
}

Semantic roles & 50–950 ramp

primary
#6C802A
secondary
#6B57AF
accent
#4EDA6E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #6C802A

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

Preview Lab → · Contrast checker → · Palette generator →

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