#6CA42A#6CA42A

#6CA42A is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.6% C 0.161 H 131.4°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#6CA42A
RGBrgb(108, 164, 42)
HSLhsl(88, 59%, 40%)
HSVhsv(88, 74%, 64%)
CMYKcmyk(34.1%, 0%, 74.4%, 35.7%)
CIE-LABlab(61.57, -37.58, 53.95)
CIE-LCHlch(61.57, 65.75, 124.86°)
OKLaboklab(65.61% -0.1063 0.1207)
OKLCHoklch(65.61% 0.161 131.4)
XYZxyz(19.8775, 29.9055, 6.9151)
Luminance0.2991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CA42A #622AA4
analogous
#A49F2A #6CA42A #2FA42A
triadic
#6CA42A #2A6CA4 #A42A6C
tetradic
#6CA42A #2AA49F #622AA4 #A42A2F
square
#6CA42A #2AA49F #622AA4 #A42A2F
split-complementary
#6CA42A #2A2FA4 #9F2AA4
monochromatic
#2C4311 #4C731E #6CA42A #8BCD3E #A9DA6E

Accessibility & contrast

On white

3.01
#6CA42A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#6CA42A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6CA42A
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CA42A#FFFFFF#000000##000000
##6CA42A1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9712
Deuteranopia (green-blind)
#A49336
Tritanopia (blue-blind)
#6E9D8D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #6ca42a;
/* rgb */ color: rgb(108, 164, 42);
/* oklch */ color: oklch(65.6% 0.161 131.4);
Tailwind
colors: {
  custom: {
    50: '#9bbf6c',
    500: '#6ca42a',
    950: '#000000',
  },
}
SCSS
$custom: #6ca42a;
$custom-light: #9bbf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#6ca42a",
  "rgb": {
    "r": 108,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 87.541,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65608,
    "c": 0.16088,
    "h": 131.4
  },
  "luminance": 0.29906
}

Semantic roles & 50–950 ramp

primary
#6CA42A
secondary
#9169C1
accent
#45E28D
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #6CA42A

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

Preview Lab → · Contrast checker → · Palette generator →

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