#6CAC28#6CAC28

#6CAC28 is a light, vivid yellow-green. Relative luminance 0.328; OKLCH L 67.6% C 0.172 H 132.5°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#6CAC28
RGBrgb(108, 172, 40)
HSLhsl(89, 62%, 42%)
HSVhsv(89, 77%, 67%)
CMYKcmyk(37.2%, 0%, 76.7%, 32.5%)
CIE-LABlab(64.04, -41.18, 57.03)
CIE-LCHlch(64.04, 70.34, 125.84°)
OKLaboklab(67.62% -0.1163 0.1269)
OKLCHoklch(67.62% 0.172 132.5)
XYZxyz(21.3196, 32.8455, 7.2236)
Luminance0.3285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CAC28 #6828AC
analogous
#ACAA28 #6CAC28 #2AAC28
triadic
#6CAC28 #286CAC #AC286C
tetradic
#6CAC28 #28ACAA #6828AC #AC282A
square
#6CAC28 #28ACAA #6828AC #AC282A
split-complementary
#6CAC28 #282AAC #AA28AC
monochromatic
#2E4911 #4D7A1C #6CAC28 #8BD23F #A9DE71

Accessibility & contrast

On white

2.77
#6CAC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#6CAC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CAC28
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CAC28#FFFFFF#000000##000000
##6CAC281.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E06
Deuteranopia (green-blind)
#AB9936
Tritanopia (blue-blind)
#6DA593
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #6cac28;
/* rgb */ color: rgb(108, 172, 40);
/* oklch */ color: oklch(67.6% 0.172 132.5);
Tailwind
colors: {
  custom: {
    50: '#9bc56c',
    500: '#6cac28',
    950: '#000000',
  },
}
SCSS
$custom: #6cac28;
$custom-light: #9bc56c;
$custom-dark: #000000;
JSON
{
  "hex": "#6cac28",
  "rgb": {
    "r": 108,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 89.091,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.67615,
    "c": 0.17207,
    "h": 132.5
  },
  "luminance": 0.32846
}

Semantic roles & 50–950 ramp

primary
#6CAC28
secondary
#976BC5
accent
#42E591
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0F1307
muted
#7E827A

Preview Lab

Preview with #6CAC28

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

Preview Lab → · Contrast checker → · Palette generator →

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