#6CA540#6CA540

#6CA540 is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 66.1% C 0.146 H 133.7°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#6CA540
RGBrgb(108, 165, 64)
HSLhsl(94, 44%, 45%)
HSVhsv(94, 61%, 65%)
CMYKcmyk(34.5%, 0%, 61.2%, 35.3%)
CIE-LABlab(62.06, -36.28, 45.42)
CIE-LCHlch(62.06, 58.13, 128.62°)
OKLaboklab(66.06% -0.101 0.1057)
OKLCHoklch(66.06% 0.146 133.7)
XYZxyz(20.5645, 30.4677, 9.6468)
Luminance0.3047 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CA540 #7940A5
analogous
#9FA540 #6CA540 #40A546
triadic
#6CA540 #406CA5 #A5406C
tetradic
#6CA540 #409FA5 #7940A5 #A54640
square
#6CA540 #409FA5 #7940A5 #A54640
split-complementary
#6CA540 #4640A5 #A5409F
monochromatic
#324D1E #4F792F #6CA540 #8BC261 #ABD38D

Accessibility & contrast

On white

2.96
#6CA540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#6CA540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CA540
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CA540#FFFFFF#000000##000000
##6CA5401.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9935
Deuteranopia (green-blind)
#A39448
Tritanopia (blue-blind)
#6C9F8F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #6ca540;
/* rgb */ color: rgb(108, 165, 64);
/* oklch */ color: oklch(66.1% 0.146 133.7);
Tailwind
colors: {
  custom: {
    50: '#9ac079',
    500: '#6ca540',
    950: '#000000',
  },
}
SCSS
$custom: #6ca540;
$custom-light: #9ac079;
$custom-dark: #000000;
JSON
{
  "hex": "#6ca540",
  "rgb": {
    "r": 108,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 93.861,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.66057,
    "c": 0.1462,
    "h": 133.7
  },
  "luminance": 0.30469
}

Semantic roles & 50–950 ramp

primary
#6CA540
secondary
#A483BE
accent
#54D49C
background
#F9FBF7
surface
#F2F7EE
border
#CCD0C9
text
#0E1209
muted
#7E817B

Preview Lab

Preview with #6CA540

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

Preview Lab → · Contrast checker → · Palette generator →

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