#6CB128#6CB128

#6CB128 is a light, vivid yellow-green. Relative luminance 0.348; OKLCH L 68.9% C 0.178 H 133.2°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#6CB128
RGBrgb(108, 177, 40)
HSLhsl(90, 63%, 43%)
HSVhsv(90, 77%, 69%)
CMYKcmyk(39%, 0%, 77.4%, 30.6%)
CIE-LABlab(65.58, -43.31, 58.50)
CIE-LCHlch(65.58, 72.79, 126.51°)
OKLaboklab(68.88% -0.122 0.1299)
OKLCHoklch(68.88% 0.178 133.2)
XYZxyz(22.2891, 34.7846, 7.5467)
Luminance0.3479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CB128 #6D28B1
analogous
#B1B128 #6CB128 #28B128
triadic
#6CB128 #286CB1 #B1286C
tetradic
#6CB128 #28B1B1 #6D28B1 #B12828
square
#6CB128 #28B1B1 #6D28B1 #B12828
split-complementary
#6CB128 #2828B1 #B128B1
monochromatic
#2F4D11 #4E7F1D #6CB128 #8BD442 #A9E074

Accessibility & contrast

On white

2.64
#6CB128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#6CB128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CB128
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CB128#FFFFFF#000000##000000
##6CB1281.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A302
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#6CAA97
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #6cb128;
/* rgb */ color: rgb(108, 177, 40);
/* oklch */ color: oklch(68.9% 0.178 133.2);
Tailwind
colors: {
  custom: {
    50: '#9cc96d',
    500: '#6cb128',
    950: '#000000',
  },
}
SCSS
$custom: #6cb128;
$custom-light: #9cc96d;
$custom-dark: #000000;
JSON
{
  "hex": "#6cb128",
  "rgb": {
    "r": 108,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 90.219,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68878,
    "c": 0.17823,
    "h": 133.2
  },
  "luminance": 0.34786
}

Semantic roles & 50–950 ramp

primary
#6CB128
secondary
#9B6EC7
accent
#42E695
background
#FAFCF6
surface
#F3F8EC
border
#CDD1C7
text
#0F1308
muted
#7F827B

Preview Lab

Preview with #6CB128

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

Preview Lab → · Contrast checker → · Palette generator →

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