#6CA42B#6CA42B

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

Color values

HEX#6CA42B
RGBrgb(108, 164, 43)
HSLhsl(88, 58%, 41%)
HSVhsv(88, 74%, 64%)
CMYKcmyk(34.1%, 0%, 73.8%, 35.7%)
CIE-LABlab(61.58, -37.51, 53.60)
CIE-LCHlch(61.58, 65.42, 124.99°)
OKLaboklab(65.61% -0.1061 0.1201)
OKLCHoklch(65.61% 0.16 131.5)
XYZxyz(19.8957, 29.9127, 7.0105)
Luminance0.2991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CA42B #632BA4
analogous
#A49F2B #6CA42B #2FA42B
triadic
#6CA42B #2B6CA4 #A42B6C
tetradic
#6CA42B #2BA49F #632BA4 #A42B2F
square
#6CA42B #2BA49F #632BA4 #A42B2F
split-complementary
#6CA42B #2B2FA4 #9F2BA4
monochromatic
#2C4312 #4C741E #6CA42B #8BCD3F #A9D970

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6CA42B#FFFFFF#000000##000000
##6CA42B1.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)
#AB9714
Deuteranopia (green-blind)
#A49337
Tritanopia (blue-blind)
#6E9D8D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #6ca42b;
/* rgb */ color: rgb(108, 164, 43);
/* oklch */ color: oklch(65.6% 0.160 131.5);
Tailwind
colors: {
  custom: {
    50: '#9bbf6d',
    500: '#6ca42b',
    950: '#000000',
  },
}
SCSS
$custom: #6ca42b;
$custom-light: #9bbf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#6ca42b",
  "rgb": {
    "r": 108,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 87.769,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65615,
    "c": 0.16027,
    "h": 131.5
  },
  "luminance": 0.29913
}

Semantic roles & 50–950 ramp

primary
#6CA42B
secondary
#926AC1
accent
#46E28E
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #6CA42B

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

Preview Lab → · Contrast checker → · Palette generator →

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