#6CB240#6CB240

#6CB240 is a light, vivid yellow-green. Relative luminance 0.354; OKLCH L 69.3% C 0.164 H 135.4°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#6CB240
RGBrgb(108, 178, 64)
HSLhsl(97, 47%, 47%)
HSVhsv(97, 64%, 70%)
CMYKcmyk(39.3%, 0%, 64%, 30.2%)
CIE-LABlab(66.06, -41.98, 49.85)
CIE-LCHlch(66.06, 65.18, 130.10°)
OKLaboklab(69.32% -0.1166 0.1151)
OKLCHoklch(69.32% 0.164 135.4)
XYZxyz(23.0296, 35.3979, 10.4685)
Luminance0.3540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CB240 #8640B2
analogous
#A5B240 #6CB240 #40B24D
triadic
#6CB240 #406CB2 #B2406C
tetradic
#6CB240 #40A5B2 #8640B2 #B24D40
square
#6CB240 #40A5B2 #8640B2 #B24D40
split-complementary
#6CB240 #4D40B2 #B240A5
monochromatic
#355820 #518530 #6CB240 #8CC867 #AED894

Accessibility & contrast

On white

2.60
#6CB240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#6CB240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CB240
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CB240#FFFFFF#000000##000000
##6CB2401.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A432
Deuteranopia (green-blind)
#AF9E49
Tritanopia (blue-blind)
#6AAC9A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #6cb240;
/* rgb */ color: rgb(108, 178, 64);
/* oklch */ color: oklch(69.3% 0.164 135.4);
Tailwind
colors: {
  custom: {
    50: '#9bc97a',
    500: '#6cb240',
    950: '#000000',
  },
}
SCSS
$custom: #6cb240;
$custom-light: #9bc97a;
$custom-dark: #000000;
JSON
{
  "hex": "#6cb240",
  "rgb": {
    "r": 108,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 96.842,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.69322,
    "c": 0.16387,
    "h": 135.4
  },
  "luminance": 0.35399
}

Semantic roles & 50–950 ramp

primary
#6CB240
secondary
#AE8AC4
accent
#51D7A3
background
#F9FCF7
surface
#F2F8EE
border
#CCD1C9
text
#0F1309
muted
#7E827B

Preview Lab

Preview with #6CB240

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

Preview Lab → · Contrast checker → · Palette generator →

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