#6CA42F#6CA42F

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

Color values

HEX#6CA42F
RGBrgb(108, 164, 47)
HSLhsl(89, 55%, 41%)
HSVhsv(89, 71%, 64%)
CMYKcmyk(34.1%, 0%, 71.3%, 35.7%)
CIE-LABlab(61.61, -37.25, 52.13)
CIE-LCHlch(61.61, 64.06, 125.55°)
OKLaboklab(65.65% -0.1051 0.1176)
OKLCHoklch(65.65% 0.158 131.8)
XYZxyz(19.9727, 29.9435, 7.4161)
Luminance0.2994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CA42F #672FA4
analogous
#A4A22F #6CA42F #32A42F
triadic
#6CA42F #2F6CA4 #A42F6C
tetradic
#6CA42F #2FA4A2 #672FA4 #A42F32
square
#6CA42F #2FA4A2 #672FA4 #A42F32
split-complementary
#6CA42F #2F32A4 #A22FA4
monochromatic
#2D4514 #4D7421 #6CA42F #8BCA46 #A9D876

Accessibility & contrast

On white

3.00
#6CA42F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#6CA42F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6CA42F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CA42F#FFFFFF#000000##000000
##6CA42F1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6ca42f;
/* rgb */ color: rgb(108, 164, 47);
/* oklch */ color: oklch(65.6% 0.158 131.8);
Tailwind
colors: {
  custom: {
    50: '#9abf6f',
    500: '#6ca42f',
    950: '#000000',
  },
}
SCSS
$custom: #6ca42f;
$custom-light: #9abf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#6ca42f",
  "rgb": {
    "r": 108,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 88.718,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.65645,
    "c": 0.15772,
    "h": 131.8
  },
  "luminance": 0.29944
}

Semantic roles & 50–950 ramp

primary
#6CA42F
secondary
#966FC0
accent
#49DF91
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1208
muted
#7E817B

Preview Lab

Preview with #6CA42F

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

Preview Lab → · Contrast checker → · Palette generator →

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