#6CB840#6CB840

#6CB840 is a light, vivid yellow-green. Relative luminance 0.378; OKLCH L 70.8% C 0.172 H 136.0°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#6CB840
RGBrgb(108, 184, 64)
HSLhsl(98, 48%, 49%)
HSVhsv(98, 65%, 72%)
CMYKcmyk(41.3%, 0%, 65.2%, 27.8%)
CIE-LABlab(67.90, -44.52, 51.86)
CIE-LCHlch(67.90, 68.35, 130.64°)
OKLaboklab(70.83% -0.1235 0.1193)
OKLCHoklch(70.83% 0.172 136)
XYZxyz(24.2496, 37.8380, 10.8752)
Luminance0.3784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CB840 #8C40B8
analogous
#A8B840 #6CB840 #40B850
triadic
#6CB840 #406CB8 #B8406C
tetradic
#6CB840 #40A8B8 #8C40B8 #B85040
square
#6CB840 #40A8B8 #8C40B8 #B85040
split-complementary
#6CB840 #5040B8 #B840A8
monochromatic
#375D20 #518B30 #6CB840 #8ECB6A #B0DB97

Accessibility & contrast

On white

2.45
#6CB840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#6CB840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CB840
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CB840#FFFFFF#000000##000000
##6CB8401.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA931
Deuteranopia (green-blind)
#B4A34A
Tritanopia (blue-blind)
#69B19F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #6cb840;
/* rgb */ color: rgb(108, 184, 64);
/* oklch */ color: oklch(70.8% 0.172 136.0);
Tailwind
colors: {
  custom: {
    50: '#9cce7a',
    500: '#6cb840',
    950: '#000000',
  },
}
SCSS
$custom: #6cb840;
$custom-light: #9cce7a;
$custom-dark: #000000;
JSON
{
  "hex": "#6cb840",
  "rgb": {
    "r": 108,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 98,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70829,
    "c": 0.17177,
    "h": 136
  },
  "luminance": 0.37839
}

Semantic roles & 50–950 ramp

primary
#6CB840
secondary
#B28DC7
accent
#50D8A6
background
#F9FCF7
surface
#F2F9EE
border
#CCD2C9
text
#0F130A
muted
#7E827C

Preview Lab

Preview with #6CB840

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

Preview Lab → · Contrast checker → · Palette generator →

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