#6BBA31#6BBA31

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

Color values

HEX#6BBA31
RGBrgb(107, 186, 49)
HSLhsl(95, 58%, 46%)
HSVhsv(95, 74%, 73%)
CMYKcmyk(42.5%, 0%, 73.7%, 27.1%)
CIE-LABlab(68.36, -46.82, 58.15)
CIE-LCHlch(68.36, 74.66, 128.84°)
OKLaboklab(71.16% -0.1308 0.1306)
OKLCHoklch(71.16% 0.185 135.1)
XYZxyz(24.1762, 38.4640, 9.0555)
Luminance0.3846 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BBA31 #8031BA
analogous
#AFBA31 #6BBA31 #31BA3C
triadic
#6BBA31 #316BBA #BA316B
tetradic
#6BBA31 #31AFBA #8031BA #BA3C31
square
#6BBA31 #31AFBA #8031BA #BA3C31
split-complementary
#6BBA31 #3C31BA #BA31AF
monochromatic
#335917 #4F8A24 #6BBA31 #8BD256 #ACDF86

Accessibility & contrast

On white

2.42
#6BBA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#6BBA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6BBA31
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BBA31#FFFFFF#000000##000000
##6BBA311.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB16
Deuteranopia (green-blind)
#B6A43F
Tritanopia (blue-blind)
#69B3A0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #6bba31;
/* rgb */ color: rgb(107, 186, 49);
/* oklch */ color: oklch(71.2% 0.185 135.1);
Tailwind
colors: {
  custom: {
    50: '#9ccf72',
    500: '#6bba31',
    950: '#000000',
  },
}
SCSS
$custom: #6bba31;
$custom-light: #9ccf72;
$custom-dark: #000000;
JSON
{
  "hex": "#6bba31",
  "rgb": {
    "r": 107,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 94.599,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71159,
    "c": 0.18481,
    "h": 135.1
  },
  "luminance": 0.38465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6BBA31

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

Preview Lab → · Contrast checker → · Palette generator →

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