#6CA12D#6CA12D

#6CA12D is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 64.9% C 0.155 H 131.1°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#6CA12D
RGBrgb(108, 161, 45)
HSLhsl(87, 56%, 40%)
HSVhsv(87, 72%, 63%)
CMYKcmyk(32.9%, 0%, 72%, 36.9%)
CIE-LABlab(60.66, -36.04, 51.94)
CIE-LCHlch(60.66, 63.22, 124.76°)
OKLaboklab(64.87% -0.1019 0.117)
OKLCHoklch(64.87% 0.155 131.1)
XYZxyz(19.4027, 28.8667, 7.0316)
Luminance0.2887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CA12D #622DA1
analogous
#A19C2D #6CA12D #32A12D
triadic
#6CA12D #2D6CA1 #A12D6C
tetradic
#6CA12D #2DA19C #622DA1 #A12D32
square
#6CA12D #2DA19C #622DA1 #A12D32
split-complementary
#6CA12D #2D32A1 #9C2DA1
monochromatic
#2C4112 #4C7120 #6CA12D #8BCA41 #A9D771

Accessibility & contrast

On white

3.10
#6CA12D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#6CA12D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6CA12D
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CA12D#FFFFFF#000000##000000
##6CA12D1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89519
Deuteranopia (green-blind)
#A19138
Tritanopia (blue-blind)
#6E9A8A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #6ca12d;
/* rgb */ color: rgb(108, 161, 45);
/* oklch */ color: oklch(64.9% 0.155 131.1);
Tailwind
colors: {
  custom: {
    50: '#9abd6d',
    500: '#6ca12d',
    950: '#000000',
  },
}
SCSS
$custom: #6ca12d;
$custom-light: #9abd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#6ca12d",
  "rgb": {
    "r": 108,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 87.414,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64873,
    "c": 0.15514,
    "h": 131.1
  },
  "luminance": 0.28867
}

Semantic roles & 50–950 ramp

primary
#6CA12D
secondary
#916BBF
accent
#48E08D
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #6CA12D

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

Preview Lab → · Contrast checker → · Palette generator →

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