#6CB040#6CB040

#6CB040 is a light, vivid yellow-green. Relative luminance 0.346; OKLCH L 68.8% C 0.161 H 135.2°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#6CB040
RGBrgb(108, 176, 64)
HSLhsl(96, 47%, 47%)
HSVhsv(96, 64%, 69%)
CMYKcmyk(38.6%, 0%, 63.6%, 31%)
CIE-LABlab(65.44, -41.13, 49.18)
CIE-LCHlch(65.44, 64.11, 129.90°)
OKLaboklab(68.82% -0.1143 0.1137)
OKLCHoklch(68.82% 0.161 135.2)
XYZxyz(22.6346, 34.6079, 10.3369)
Luminance0.3461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CB040 #8440B0
analogous
#A4B040 #6CB040 #40B04C
triadic
#6CB040 #406CB0 #B0406C
tetradic
#6CB040 #40A4B0 #8440B0 #B04C40
square
#6CB040 #40A4B0 #8440B0 #B04C40
split-complementary
#6CB040 #4C40B0 #B040A4
monochromatic
#35561F #508330 #6CB040 #8CC766 #AED893

Accessibility & contrast

On white

2.65
#6CB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#6CB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CB040
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CB040#FFFFFF#000000##000000
##6CB0401.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A232
Deuteranopia (green-blind)
#AD9D49
Tritanopia (blue-blind)
#6BAA99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #6cb040;
/* rgb */ color: rgb(108, 176, 64);
/* oklch */ color: oklch(68.8% 0.161 135.2);
Tailwind
colors: {
  custom: {
    50: '#9bc87a',
    500: '#6cb040',
    950: '#000000',
  },
}
SCSS
$custom: #6cb040;
$custom-light: #9bc87a;
$custom-dark: #000000;
JSON
{
  "hex": "#6cb040",
  "rgb": {
    "r": 108,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 96.429,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.68819,
    "c": 0.1612,
    "h": 135.2
  },
  "luminance": 0.34609
}

Semantic roles & 50–950 ramp

primary
#6CB040
secondary
#AC89C3
accent
#51D6A2
background
#F9FCF7
surface
#F2F8EE
border
#CCD1C9
text
#0E1309
muted
#7E827B

Preview Lab

Preview with #6CB040

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

Preview Lab → · Contrast checker → · Palette generator →

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