#6CA128#6CA128

#6CA128 is a light, vivid yellow-green. Relative luminance 0.288; OKLCH L 64.8% C 0.158 H 130.7°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#6CA128
RGBrgb(108, 161, 40)
HSLhsl(86, 60%, 39%)
HSVhsv(86, 75%, 63%)
CMYKcmyk(32.9%, 0%, 75.2%, 36.9%)
CIE-LABlab(60.63, -36.36, 53.74)
CIE-LCHlch(60.63, 64.89, 124.08°)
OKLaboklab(64.84% -0.1032 0.12)
OKLCHoklch(64.84% 0.158 130.7)
XYZxyz(19.3121, 28.8304, 6.5544)
Luminance0.2883 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CA128 #5D28A1
analogous
#A19A28 #6CA128 #30A128
triadic
#6CA128 #286CA1 #A1286C
tetradic
#6CA128 #28A19A #5D28A1 #A12830
square
#6CA128 #28A19A #5D28A1 #A12830
split-complementary
#6CA128 #2830A1 #9A28A1
monochromatic
#2A3F10 #4B701C #6CA128 #8CCE39 #A9DA6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6CA128#FFFFFF#000000##000000
##6CA1281.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)
#A8950F
Deuteranopia (green-blind)
#A19134
Tritanopia (blue-blind)
#6E9A8A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #6ca128;
/* rgb */ color: rgb(108, 161, 40);
/* oklch */ color: oklch(64.8% 0.158 130.7);
Tailwind
colors: {
  custom: {
    50: '#9abd6b',
    500: '#6ca128',
    950: '#000000',
  },
}
SCSS
$custom: #6ca128;
$custom-light: #9abd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#6ca128",
  "rgb": {
    "r": 108,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 86.281,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64837,
    "c": 0.15824,
    "h": 130.7
  },
  "luminance": 0.28831
}

Semantic roles & 50–950 ramp

primary
#6CA128
secondary
#8D65C0
accent
#44E38A
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #6CA128

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

Preview Lab → · Contrast checker → · Palette generator →

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