#6BB542#6BB542

#6BB542 is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.0% C 0.167 H 136.2°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#6BB542
RGBrgb(107, 181, 66)
HSLhsl(99, 47%, 48%)
HSVhsv(99, 64%, 71%)
CMYKcmyk(40.9%, 0%, 63.5%, 29%)
CIE-LABlab(66.95, -43.41, 49.96)
CIE-LCHlch(66.95, 66.18, 130.99°)
OKLaboklab(70.04% -0.1203 0.1156)
OKLCHoklch(70.04% 0.167 136.2)
XYZxyz(23.5700, 36.5656, 10.9691)
Luminance0.3657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BB542 #8C42B5
analogous
#A4B542 #6BB542 #42B552
triadic
#6BB542 #426BB5 #B5426B
tetradic
#6BB542 #42A4B5 #8C42B5 #B55242
square
#6BB542 #42A4B5 #8C42B5 #B55242
split-complementary
#6BB542 #5242B5 #B542A4
monochromatic
#365B21 #508832 #6BB542 #8DC96B #AFD998

Accessibility & contrast

On white

2.53
#6BB542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#6BB542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6BB542
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BB542#FFFFFF#000000##000000
##6BB5421.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA734
Deuteranopia (green-blind)
#B1A14B
Tritanopia (blue-blind)
#68AF9D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #6bb542;
/* rgb */ color: rgb(107, 181, 66);
/* oklch */ color: oklch(70.0% 0.167 136.2);
Tailwind
colors: {
  custom: {
    50: '#9acc7b',
    500: '#6bb542',
    950: '#000000',
  },
}
SCSS
$custom: #6bb542;
$custom-light: #9acc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#6bb542",
  "rgb": {
    "r": 107,
    "g": 181,
    "b": 66
  },
  "hsl": {
    "h": 98.609,
    "s": 46.559,
    "l": 48.431
  },
  "oklch": {
    "l": 0.70044,
    "c": 0.16682,
    "h": 136.2
  },
  "luminance": 0.36567
}

Semantic roles & 50–950 ramp

primary
#6BB542
secondary
#B18EC5
accent
#52D6A7
background
#F9FCF7
surface
#F2F9EE
border
#CCD2C9
text
#0E130A
muted
#7E827C

Preview Lab

Preview with #6BB542

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

Preview Lab → · Contrast checker → · Palette generator →

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