#6CBC31#6CBC31

#6CBC31 is a light, vivid yellow-green. Relative luminance 0.394; OKLCH L 71.7% C 0.187 H 135.1°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#6CBC31
RGBrgb(108, 188, 49)
HSLhsl(95, 59%, 46%)
HSVhsv(95, 74%, 74%)
CMYKcmyk(42.6%, 0%, 73.9%, 26.3%)
CIE-LABlab(69.02, -47.31, 58.82)
CIE-LCHlch(69.02, 75.48, 128.81°)
OKLaboklab(71.71% -0.1322 0.1319)
OKLCHoklch(71.71% 0.187 135.1)
XYZxyz(24.7214, 39.3749, 9.2026)
Luminance0.3938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CBC31 #8131BC
analogous
#B2BC31 #6CBC31 #31BC3B
triadic
#6CBC31 #316CBC #BC316C
tetradic
#6CBC31 #31B2BC #8131BC #BC3B31
square
#6CBC31 #31B2BC #8131BC #BC3B31
split-complementary
#6CBC31 #3B31BC #BC31B2
monochromatic
#345B18 #508B24 #6CBC31 #8CD357 #ADE088

Accessibility & contrast

On white

2.37
#6CBC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#6CBC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CBC31
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CBC31#FFFFFF#000000##000000
##6CBC311.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD15
Deuteranopia (green-blind)
#B8A63F
Tritanopia (blue-blind)
#6AB5A1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #6cbc31;
/* rgb */ color: rgb(108, 188, 49);
/* oklch */ color: oklch(71.7% 0.187 135.1);
Tailwind
colors: {
  custom: {
    50: '#9dd173',
    500: '#6cbc31',
    950: '#000000',
  },
}
SCSS
$custom: #6cbc31;
$custom-light: #9dd173;
$custom-dark: #000000;
JSON
{
  "hex": "#6cbc31",
  "rgb": {
    "r": 108,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 94.532,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71712,
    "c": 0.18677,
    "h": 135.1
  },
  "luminance": 0.39376
}

Semantic roles & 50–950 ramp

primary
#6CBC31
secondary
#AA7FCA
accent
#46E2A0
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#0F1409
muted
#7F827B

Preview Lab

Preview with #6CBC31

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

Preview Lab → · Contrast checker → · Palette generator →

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