#6BB242#6BB242

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

Color values

HEX#6BB242
RGBrgb(107, 178, 66)
HSLhsl(98, 46%, 48%)
HSVhsv(98, 63%, 70%)
CMYKcmyk(39.9%, 0%, 62.9%, 30.2%)
CIE-LABlab(66.03, -42.14, 48.94)
CIE-LCHlch(66.03, 64.58, 130.73°)
OKLaboklab(69.29% -0.1168 0.1134)
OKLCHoklch(69.29% 0.163 135.9)
XYZxyz(22.9666, 35.3587, 10.7680)
Luminance0.3536 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BB242 #8942B2
analogous
#A3B242 #6BB242 #42B251
triadic
#6BB242 #426BB2 #B2426B
tetradic
#6BB242 #42A3B2 #8942B2 #B25142
square
#6BB242 #42A3B2 #8942B2 #B25142
split-complementary
#6BB242 #5142B2 #B242A3
monochromatic
#355921 #508531 #6BB242 #8CC86A #AED896

Accessibility & contrast

On white

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

On black

8.07
#6BB242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6BB242
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BB242#FFFFFF#000000##000000
##6BB2421.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A435
Deuteranopia (green-blind)
#AE9E4B
Tritanopia (blue-blind)
#69AC9A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #6bb242;
/* rgb */ color: rgb(107, 178, 66);
/* oklch */ color: oklch(69.3% 0.163 135.9);
Tailwind
colors: {
  custom: {
    50: '#9ac97b',
    500: '#6bb242',
    950: '#000000',
  },
}
SCSS
$custom: #6bb242;
$custom-light: #9ac97b;
$custom-dark: #000000;
JSON
{
  "hex": "#6bb242",
  "rgb": {
    "r": 107,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 98.036,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.6929,
    "c": 0.16282,
    "h": 135.9
  },
  "luminance": 0.3536
}

Semantic roles & 50–950 ramp

primary
#6BB242
secondary
#AF8CC4
accent
#52D6A5
background
#F9FCF7
surface
#F2F8EE
border
#CCD1C9
text
#0E130A
muted
#7E827C

Preview Lab

Preview with #6BB242

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

Preview Lab → · Contrast checker → · Palette generator →

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