#6CB126#6CB126

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

Color values

HEX#6CB126
RGBrgb(108, 177, 38)
HSLhsl(90, 65%, 42%)
HSVhsv(90, 79%, 69%)
CMYKcmyk(39%, 0%, 78.5%, 30.6%)
CIE-LABlab(65.57, -43.41, 59.12)
CIE-LCHlch(65.57, 73.35, 126.29°)
OKLaboklab(68.87% -0.1224 0.1309)
OKLCHoklch(68.87% 0.179 133.1)
XYZxyz(22.2560, 34.7713, 7.3722)
Luminance0.3477 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CB126 #6B26B1
analogous
#B1B126 #6CB126 #27B126
triadic
#6CB126 #266CB1 #B1266C
tetradic
#6CB126 #26B1B1 #6B26B1 #B12627
square
#6CB126 #26B1B1 #6B26B1 #B12627
split-complementary
#6CB126 #2627B1 #B126B1
monochromatic
#2F4C10 #4D7F1B #6CB126 #8BD63F #A9E071

Accessibility & contrast

On white

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

On black

7.95
#6CB126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CB126
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CB126#FFFFFF#000000##000000
##6CB1261.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6cb126;
/* rgb */ color: rgb(108, 177, 38);
/* oklch */ color: oklch(68.9% 0.179 133.1);
Tailwind
colors: {
  custom: {
    50: '#9cc96c',
    500: '#6cb126',
    950: '#000000',
  },
}
SCSS
$custom: #6cb126;
$custom-light: #9cc96c;
$custom-dark: #000000;
JSON
{
  "hex": "#6cb126",
  "rgb": {
    "r": 108,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 89.784,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68866,
    "c": 0.17924,
    "h": 133.1
  },
  "luminance": 0.34772
}

Semantic roles & 50–950 ramp

primary
#6CB126
secondary
#996BC7
accent
#40E893
background
#FAFCF6
surface
#F3F8EC
border
#CDD1C7
text
#0F1307
muted
#7F827A

Preview Lab

Preview with #6CB126

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

Preview Lab → · Contrast checker → · Palette generator →

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