#6CBA31#6CBA31

#6CBA31 is a light, vivid yellow-green. Relative luminance 0.385; OKLCH L 71.2% C 0.184 H 134.9°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#6CBA31
RGBrgb(108, 186, 49)
HSLhsl(94, 58%, 46%)
HSVhsv(94, 74%, 73%)
CMYKcmyk(41.9%, 0%, 73.7%, 27.1%)
CIE-LABlab(68.41, -46.49, 58.21)
CIE-LCHlch(68.41, 74.50, 128.62°)
OKLaboklab(71.21% -0.13 0.1307)
OKLCHoklch(71.21% 0.184 134.9)
XYZxyz(24.2971, 38.5264, 9.0612)
Luminance0.3853 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CBA31 #7F31BA
analogous
#B0BA31 #6CBA31 #31BA3B
triadic
#6CBA31 #316CBA #BA316C
tetradic
#6CBA31 #31B0BA #7F31BA #BA3B31
square
#6CBA31 #31B0BA #7F31BA #BA3B31
split-complementary
#6CBA31 #3B31BA #BA31B0
monochromatic
#345917 #508A24 #6CBA31 #8BD256 #ADDF86

Accessibility & contrast

On white

2.41
#6CBA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#6CBA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CBA31
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CBA31#FFFFFF#000000##000000
##6CBA311.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB16
Deuteranopia (green-blind)
#B7A43F
Tritanopia (blue-blind)
#6AB3A0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #6cba31;
/* rgb */ color: rgb(108, 186, 49);
/* oklch */ color: oklch(71.2% 0.184 134.9);
Tailwind
colors: {
  custom: {
    50: '#9ccf72',
    500: '#6cba31',
    950: '#000000',
  },
}
SCSS
$custom: #6cba31;
$custom-light: #9ccf72;
$custom-dark: #000000;
JSON
{
  "hex": "#6cba31",
  "rgb": {
    "r": 108,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 94.161,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71208,
    "c": 0.1843,
    "h": 134.9
  },
  "luminance": 0.38528
}

Semantic roles & 50–950 ramp

primary
#6CBA31
secondary
#A97EC9
accent
#46E29F
background
#FAFCF7
surface
#F3F9ED
border
#CDD2C8
text
#0F1408
muted
#7F827B

Preview Lab

Preview with #6CBA31

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

Preview Lab → · Contrast checker → · Palette generator →

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