#6C9728#6C9728

#6C9728 is a light, vivid yellow-green. Relative luminance 0.255; OKLCH L 62.3% C 0.145 H 128.6°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#6C9728
RGBrgb(108, 151, 40)
HSLhsl(83, 58%, 37%)
HSVhsv(83, 74%, 59%)
CMYKcmyk(28.5%, 0%, 73.5%, 40.8%)
CIE-LABlab(57.53, -31.79, 50.70)
CIE-LCHlch(57.53, 59.84, 122.09°)
OKLaboklab(62.32% -0.0907 0.1136)
OKLCHoklch(62.32% 0.145 128.6)
XYZxyz(17.6339, 25.4741, 5.9950)
Luminance0.2547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C9728 #532897
analogous
#978A28 #6C9728 #359728
triadic
#6C9728 #286C97 #97286C
tetradic
#6C9728 #28978A #532897 #972835
square
#6C9728 #28978A #532897 #972835
split-complementary
#6C9728 #283597 #8A2897
monochromatic
#27360E #49671B #6C9728 #8FC735 #AAD664

Accessibility & contrast

On white

3.45
#6C9728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#6C9728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C9728
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C9728#FFFFFF#000000##000000
##6C97281.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C14
Deuteranopia (green-blind)
#998932
Tritanopia (blue-blind)
#709081
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #6c9728;
/* rgb */ color: rgb(108, 151, 40);
/* oklch */ color: oklch(62.3% 0.145 128.6);
Tailwind
colors: {
  custom: {
    50: '#9ab66a',
    500: '#6c9728',
    950: '#000000',
  },
}
SCSS
$custom: #6c9728;
$custom-light: #9ab66a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c9728",
  "rgb": {
    "r": 108,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 83.243,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62316,
    "c": 0.14539,
    "h": 128.6
  },
  "luminance": 0.25475
}

Semantic roles & 50–950 ramp

primary
#6C9728
secondary
#835FBC
accent
#46E182
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1107
muted
#7E807A

Preview Lab

Preview with #6C9728

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

Preview Lab → · Contrast checker → · Palette generator →

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