#6CBA40#6CBA40

#6CBA40 is a light, vivid yellow-green. Relative luminance 0.387; OKLCH L 71.3% C 0.174 H 136.2°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#6CBA40
RGBrgb(108, 186, 64)
HSLhsl(98, 49%, 49%)
HSVhsv(98, 66%, 73%)
CMYKcmyk(41.9%, 0%, 65.6%, 27.1%)
CIE-LABlab(68.52, -45.35, 52.53)
CIE-LCHlch(68.52, 69.40, 130.81°)
OKLaboklab(71.33% -0.1258 0.1207)
OKLCHoklch(71.33% 0.174 136.2)
XYZxyz(24.6680, 38.6747, 11.0147)
Luminance0.3868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CBA40 #8E40BA
analogous
#A9BA40 #6CBA40 #40BA51
triadic
#6CBA40 #406CBA #BA406C
tetradic
#6CBA40 #40A9BA #8E40BA #BA5140
square
#6CBA40 #40A9BA #8E40BA #BA5140
split-complementary
#6CBA40 #5140BA #BA40A9
monochromatic
#375F21 #528C30 #6CBA40 #8ECC6B #B1DC99

Accessibility & contrast

On white

2.40
#6CBA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#6CBA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CBA40
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CBA40#FFFFFF#000000##000000
##6CBA401.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB30
Deuteranopia (green-blind)
#B6A54A
Tritanopia (blue-blind)
#69B3A1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #6cba40;
/* rgb */ color: rgb(108, 186, 64);
/* oklch */ color: oklch(71.3% 0.174 136.2);
Tailwind
colors: {
  custom: {
    50: '#9ccf7a',
    500: '#6cba40',
    950: '#000000',
  },
}
SCSS
$custom: #6cba40;
$custom-light: #9ccf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#6cba40",
  "rgb": {
    "r": 108,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 98.361,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.71332,
    "c": 0.17438,
    "h": 136.2
  },
  "luminance": 0.38676
}

Semantic roles & 50–950 ramp

primary
#6CBA40
secondary
#B38EC8
accent
#4FD8A7
background
#FAFCF7
surface
#F3F9EE
border
#CDD2C9
text
#0F140A
muted
#7F827C

Preview Lab

Preview with #6CBA40

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

Preview Lab → · Contrast checker → · Palette generator →

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