#6C882F#6C882F

#6C882F is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.6% C 0.120 H 124.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6C882F
RGBrgb(108, 136, 47)
HSLhsl(79, 49%, 36%)
HSVhsv(79, 65%, 53%)
CMYKcmyk(20.6%, 0%, 65.4%, 46.7%)
CIE-LABlab(52.95, -24.02, 43.09)
CIE-LCHlch(52.95, 49.33, 119.14°)
OKLaboklab(58.62% -0.0688 0.0987)
OKLCHoklch(58.62% 0.12 124.9)
XYZxyz(15.5017, 21.0015, 5.9258)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C882F #4B2F88
analogous
#88772F #6C882F #3F882F
triadic
#6C882F #2F6C88 #882F6C
tetradic
#6C882F #2F8877 #4B2F88 #882F3F
square
#6C882F #2F8877 #4B2F88 #882F3F
split-complementary
#6C882F #2F3F88 #772F88
monochromatic
#242D10 #485B1F #6C882F #90B53F #ABCA67

Accessibility & contrast

On white

4.04
#6C882F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#6C882F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C882F
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C882F#FFFFFF#000000##000000
##6C882F1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F24
Deuteranopia (green-blind)
#8C7E36
Tritanopia (blue-blind)
#718276
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6c882f;
/* rgb */ color: rgb(108, 136, 47);
/* oklch */ color: oklch(58.6% 0.120 124.9);
Tailwind
colors: {
  custom: {
    50: '#99aa6c',
    500: '#6c882f',
    950: '#000000',
  },
}
SCSS
$custom: #6c882f;
$custom-light: #99aa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c882f",
  "rgb": {
    "r": 108,
    "g": 136,
    "b": 47
  },
  "hsl": {
    "h": 78.876,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58619,
    "c": 0.12027,
    "h": 124.9
  },
  "luminance": 0.21002
}

Semantic roles & 50–950 ramp

primary
#6C882F
secondary
#7B61B1
accent
#50D87B
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #6C882F

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

Preview Lab → · Contrast checker → · Palette generator →

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