#6CA840#6CA840

#6CA840 is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 66.8% C 0.150 H 134.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#6CA840
RGBrgb(108, 168, 64)
HSLhsl(95, 45%, 45%)
HSVhsv(95, 62%, 66%)
CMYKcmyk(35.7%, 0%, 61.9%, 34.1%)
CIE-LABlab(62.98, -37.62, 46.45)
CIE-LCHlch(62.98, 59.78, 129.00°)
OKLaboklab(66.81% -0.1047 0.1079)
OKLCHoklch(66.81% 0.15 134.2)
XYZxyz(21.1120, 31.5627, 9.8293)
Luminance0.3156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CA840 #7C40A8
analogous
#A0A840 #6CA840 #40A848
triadic
#6CA840 #406CA8 #A8406C
tetradic
#6CA840 #40A0A8 #7C40A8 #A84840
square
#6CA840 #40A0A8 #7C40A8 #A84840
split-complementary
#6CA840 #4840A8 #A840A0
monochromatic
#334F1E #507C2F #6CA840 #8BC362 #ACD48E

Accessibility & contrast

On white

2.87
#6CA840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#6CA840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CA840
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CA840#FFFFFF#000000##000000
##6CA8401.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C34
Deuteranopia (green-blind)
#A69748
Tritanopia (blue-blind)
#6CA292
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6ca840;
/* rgb */ color: rgb(108, 168, 64);
/* oklch */ color: oklch(66.8% 0.150 134.2);
Tailwind
colors: {
  custom: {
    50: '#9ac279',
    500: '#6ca840',
    950: '#000000',
  },
}
SCSS
$custom: #6ca840;
$custom-light: #9ac279;
$custom-dark: #000000;
JSON
{
  "hex": "#6ca840",
  "rgb": {
    "r": 108,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 94.615,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.6681,
    "c": 0.15034,
    "h": 134.2
  },
  "luminance": 0.31564
}

Semantic roles & 50–950 ramp

primary
#6CA840
secondary
#A685BF
accent
#53D59E
background
#F9FBF7
surface
#F2F7EE
border
#CCD0C9
text
#0E1209
muted
#7E817B

Preview Lab

Preview with #6CA840

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

Preview Lab → · Contrast checker → · Palette generator →

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