#6C9928#6C9928

#6C9928 is a light, vivid yellow-green. Relative luminance 0.261; OKLCH L 62.8% C 0.148 H 129.1°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#6C9928
RGBrgb(108, 153, 40)
HSLhsl(84, 59%, 38%)
HSVhsv(84, 74%, 60%)
CMYKcmyk(29.4%, 0%, 73.9%, 40%)
CIE-LABlab(58.15, -32.72, 51.31)
CIE-LCHlch(58.15, 60.85, 122.52°)
OKLaboklab(62.82% -0.0933 0.1149)
OKLCHoklch(62.82% 0.148 129.1)
XYZxyz(17.9585, 26.1233, 6.1032)
Luminance0.2612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C9928 #552899
analogous
#998D28 #6C9928 #339928
triadic
#6C9928 #286C99 #99286C
tetradic
#6C9928 #28998D #552899 #992833
square
#6C9928 #28998D #552899 #992833
split-complementary
#6C9928 #283399 #8D2899
monochromatic
#28380F #4A681B #6C9928 #8ECA35 #A9D765

Accessibility & contrast

On white

3.37
#6C9928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#6C9928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C9928
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C9928#FFFFFF#000000##000000
##6C99281.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E13
Deuteranopia (green-blind)
#9A8B32
Tritanopia (blue-blind)
#6F9283
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #6c9928;
/* rgb */ color: rgb(108, 153, 40);
/* oklch */ color: oklch(62.8% 0.148 129.1);
Tailwind
colors: {
  custom: {
    50: '#9ab76a',
    500: '#6c9928',
    950: '#000000',
  },
}
SCSS
$custom: #6c9928;
$custom-light: #9ab76a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c9928",
  "rgb": {
    "r": 108,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 83.894,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62819,
    "c": 0.14798,
    "h": 129.1
  },
  "luminance": 0.26124
}

Semantic roles & 50–950 ramp

primary
#6C9928
secondary
#8560BD
accent
#46E284
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1107
muted
#7E807A

Preview Lab

Preview with #6C9928

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

Preview Lab → · Contrast checker → · Palette generator →

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