#6CBB31#6CBB31

#6CBB31 is a light, vivid yellow-green. Relative luminance 0.390; OKLCH L 71.5% C 0.186 H 135.0°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#6CBB31
RGBrgb(108, 187, 49)
HSLhsl(94, 58%, 46%)
HSVhsv(94, 74%, 73%)
CMYKcmyk(42.2%, 0%, 73.8%, 26.7%)
CIE-LABlab(68.71, -46.90, 58.52)
CIE-LCHlch(68.71, 74.99, 128.71°)
OKLaboklab(71.46% -0.1311 0.1313)
OKLCHoklch(71.46% 0.186 135)
XYZxyz(24.5085, 38.9492, 9.1317)
Luminance0.3895 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6CBB31 #8031BB
analogous
#B1BB31 #6CBB31 #31BB3B
triadic
#6CBB31 #316CBB #BB316C
tetradic
#6CBB31 #31B1BB #8031BB #BB3B31
square
#6CBB31 #31B1BB #8031BB #BB3B31
split-complementary
#6CBB31 #3B31BB #BB31B1
monochromatic
#345A18 #508B24 #6CBB31 #8CD356 #ADE087

Accessibility & contrast

On white

2.39
#6CBB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#6CBB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6CBB31
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6CBB31#FFFFFF#000000##000000
##6CBB311.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC16
Deuteranopia (green-blind)
#B7A53F
Tritanopia (blue-blind)
#6AB4A0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #6cbb31;
/* rgb */ color: rgb(108, 187, 49);
/* oklch */ color: oklch(71.5% 0.186 135.0);
Tailwind
colors: {
  custom: {
    50: '#9cd072',
    500: '#6cbb31',
    950: '#000000',
  },
}
SCSS
$custom: #6cbb31;
$custom-light: #9cd072;
$custom-dark: #000000;
JSON
{
  "hex": "#6cbb31",
  "rgb": {
    "r": 108,
    "g": 187,
    "b": 49
  },
  "hsl": {
    "h": 94.348,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7146,
    "c": 0.18554,
    "h": 135
  },
  "luminance": 0.38951
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6CBB31

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

Preview Lab → · Contrast checker → · Palette generator →

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