#6CB540#6CB540

#6CB540 is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.1% C 0.168 H 135.7°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#6CB540
RGBrgb(108, 181, 64)
HSLhsl(97, 48%, 48%)
HSVhsv(97, 65%, 71%)
CMYKcmyk(40.3%, 0%, 64.6%, 29%)
CIE-LABlab(66.98, -43.26, 50.86)
CIE-LCHlch(66.98, 66.77, 130.38°)
OKLaboklab(70.08% -0.1201 0.1172)
OKLCHoklch(70.08% 0.168 135.7)
XYZxyz(23.6330, 36.6048, 10.6697)
Luminance0.3661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CB540 #8940B5
analogous
#A6B540 #6CB540 #40B54E
triadic
#6CB540 #406CB5 #B5406C
tetradic
#6CB540 #40A6B5 #8940B5 #B54E40
square
#6CB540 #40A6B5 #8940B5 #B54E40
split-complementary
#6CB540 #4E40B5 #B540A6
monochromatic
#365B20 #518830 #6CB540 #8DCA68 #AFDA96

Accessibility & contrast

On white

2.52
#6CB540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#6CB540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CB540
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CB540#FFFFFF#000000##000000
##6CB5401.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA731
Deuteranopia (green-blind)
#B1A14A
Tritanopia (blue-blind)
#6AAE9D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #6cb540;
/* rgb */ color: rgb(108, 181, 64);
/* oklch */ color: oklch(70.1% 0.168 135.7);
Tailwind
colors: {
  custom: {
    50: '#9bcc7a',
    500: '#6cb540',
    950: '#000000',
  },
}
SCSS
$custom: #6cb540;
$custom-light: #9bcc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#6cb540",
  "rgb": {
    "r": 108,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 97.436,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.70075,
    "c": 0.16784,
    "h": 135.7
  },
  "luminance": 0.36606
}

Semantic roles & 50–950 ramp

primary
#6CB540
secondary
#B08BC5
accent
#50D7A5
background
#F9FCF7
surface
#F2F9EE
border
#CCD2C9
text
#0F1309
muted
#7E827B

Preview Lab

Preview with #6CB540

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

Preview Lab → · Contrast checker → · Palette generator →

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