#6CB042#6CB042

#6CB042 is a light, vivid yellow-green. Relative luminance 0.346; OKLCH L 68.8% C 0.160 H 135.4°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#6CB042
RGBrgb(108, 176, 66)
HSLhsl(97, 45%, 47%)
HSVhsv(97, 63%, 69%)
CMYKcmyk(38.6%, 0%, 62.5%, 31%)
CIE-LABlab(65.46, -40.94, 48.32)
CIE-LCHlch(65.46, 63.33, 130.27°)
OKLaboklab(68.84% -0.1136 0.1121)
OKLCHoklch(68.84% 0.16 135.4)
XYZxyz(22.6925, 34.6310, 10.6420)
Luminance0.3463 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CB042 #8642B0
analogous
#A3B042 #6CB042 #42B04F
triadic
#6CB042 #426CB0 #B0426C
tetradic
#6CB042 #42A3B0 #8642B0 #B04F42
square
#6CB042 #42A3B0 #8642B0 #B04F42
split-complementary
#6CB042 #4F42B0 #B042A3
monochromatic
#355721 #518331 #6CB042 #8CC769 #AED795

Accessibility & contrast

On white

2.65
#6CB042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#6CB042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CB042
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CB042#FFFFFF#000000##000000
##6CB0421.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A335
Deuteranopia (green-blind)
#AD9D4B
Tritanopia (blue-blind)
#6AAA99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #6cb042;
/* rgb */ color: rgb(108, 176, 66);
/* oklch */ color: oklch(68.8% 0.160 135.4);
Tailwind
colors: {
  custom: {
    50: '#9bc87b',
    500: '#6cb042',
    950: '#000000',
  },
}
SCSS
$custom: #6cb042;
$custom-light: #9bc87b;
$custom-dark: #000000;
JSON
{
  "hex": "#6cb042",
  "rgb": {
    "r": 108,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 97.091,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.6884,
    "c": 0.1596,
    "h": 135.4
  },
  "luminance": 0.34632
}

Semantic roles & 50–950 ramp

primary
#6CB042
secondary
#AE8BC3
accent
#53D5A3
background
#F9FCF7
surface
#F2F8EE
border
#CCD1C9
text
#0E130A
muted
#7E827C

Preview Lab

Preview with #6CB042

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

Preview Lab → · Contrast checker → · Palette generator →

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