#6CA22A#6CA22A

#6CA22A is a light, vivid yellow-green. Relative luminance 0.292; OKLCH L 65.1% C 0.158 H 131.0°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#6CA22A
RGBrgb(108, 162, 42)
HSLhsl(87, 59%, 40%)
HSVhsv(87, 74%, 64%)
CMYKcmyk(33.3%, 0%, 74.1%, 36.5%)
CIE-LABlab(60.95, -36.69, 53.34)
CIE-LCHlch(60.95, 64.74, 124.52°)
OKLaboklab(65.1% -0.1039 0.1194)
OKLCHoklch(65.1% 0.158 131)
XYZxyz(19.5224, 29.1953, 6.7967)
Luminance0.2920 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CA22A #602AA2
analogous
#A29C2A #6CA22A #30A22A
triadic
#6CA22A #2A6CA2 #A22A6C
tetradic
#6CA22A #2AA29C #602AA2 #A22A30
square
#6CA22A #2AA29C #602AA2 #A22A30
split-complementary
#6CA22A #2A30A2 #9C2AA2
monochromatic
#2B4111 #4C711D #6CA22A #8CCD3D #A9D96D

Accessibility & contrast

On white

3.07
#6CA22A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#6CA22A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6CA22A
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CA22A#FFFFFF#000000##000000
##6CA22A1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99613
Deuteranopia (green-blind)
#A29235
Tritanopia (blue-blind)
#6E9B8B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #6ca22a;
/* rgb */ color: rgb(108, 162, 42);
/* oklch */ color: oklch(65.1% 0.158 131.0);
Tailwind
colors: {
  custom: {
    50: '#9abe6c',
    500: '#6ca22a',
    950: '#000000',
  },
}
SCSS
$custom: #6ca22a;
$custom-light: #9abe6c;
$custom-dark: #000000;
JSON
{
  "hex": "#6ca22a",
  "rgb": {
    "r": 108,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 87,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.65103,
    "c": 0.15833,
    "h": 131
  },
  "luminance": 0.29196
}

Semantic roles & 50–950 ramp

primary
#6CA22A
secondary
#8F68C0
accent
#46E28C
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #6CA22A

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

Preview Lab → · Contrast checker → · Palette generator →

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