#6CCC28#6CCC28

#6CCC28 is a light, highly saturated yellow-green. Relative luminance 0.465; OKLCH L 75.7% C 0.210 H 135.9°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#6CCC28
RGBrgb(108, 204, 40)
HSLhsl(95, 67%, 48%)
HSVhsv(95, 80%, 80%)
CMYKcmyk(47.1%, 0%, 80.4%, 20%)
CIE-LABlab(73.89, -54.11, 66.26)
CIE-LCHlch(73.89, 85.55, 129.24°)
OKLaboklab(75.69% -0.151 0.1462)
OKLCHoklch(75.69% 0.21 135.9)
XYZxyz(28.1595, 46.5252, 9.5035)
Luminance0.4653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CCC28 #8828CC
analogous
#BECC28 #6CCC28 #28CC36
triadic
#6CCC28 #286CCC #CC286C
tetradic
#6CCC28 #28BECC #8828CC #CC3628
square
#6CCC28 #28BECC #8828CC #CC3628
split-complementary
#6CCC28 #3628CC #CC28BE
monochromatic
#366614 #51991E #6CCC28 #8DDD54 #AFE787

Accessibility & contrast

On white

2.04
#6CCC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#6CCC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CCC28
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CCC28#FFFFFF#000000##000000
##6CCC281.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB00
Deuteranopia (green-blind)
#C7B33C
Tritanopia (blue-blind)
#68C4AE
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #6ccc28;
/* rgb */ color: rgb(108, 204, 40);
/* oklch */ color: oklch(75.7% 0.210 135.9);
Tailwind
colors: {
  custom: {
    50: '#9fdc71',
    500: '#6ccc28',
    950: '#000000',
  },
}
SCSS
$custom: #6ccc28;
$custom-light: #9fdc71;
$custom-dark: #000000;
JSON
{
  "hex": "#6ccc28",
  "rgb": {
    "r": 108,
    "g": 204,
    "b": 40
  },
  "hsl": {
    "h": 95.122,
    "s": 67.213,
    "l": 47.843
  },
  "oklch": {
    "l": 0.7569,
    "c": 0.21022,
    "h": 135.9
  },
  "luminance": 0.46527
}

Semantic roles & 50–950 ramp

primary
#6CCC28
secondary
#AF7FD1
accent
#3EEAA3
background
#FAFDF7
surface
#F4FBED
border
#CED4C8
text
#0F1508
muted
#7F837B

Preview Lab

Preview with #6CCC28

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

Preview Lab → · Contrast checker → · Palette generator →

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