#6BB31C#6BB31C

#6BB31C is a light, vivid yellow-green. Relative luminance 0.354; OKLCH L 69.3% C 0.186 H 133.1°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#6BB31C
RGBrgb(107, 179, 28)
HSLhsl(89, 73%, 41%)
HSVhsv(89, 84%, 70%)
CMYKcmyk(40.2%, 0%, 84.4%, 29.8%)
CIE-LABlab(66.10, -45.05, 62.35)
CIE-LCHlch(66.10, 76.92, 125.85°)
OKLaboklab(69.27% -0.1273 0.1363)
OKLCHoklch(69.27% 0.186 133.1)
XYZxyz(22.3928, 35.4487, 6.7608)
Luminance0.3545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6BB31C #641CB3
analogous
#B3AF1C #6BB31C #20B31C
triadic
#6BB31C #1C6BB3 #B31C6B
tetradic
#6BB31C #1CB3AF #641CB3 #B31C20
square
#6BB31C #1CB3AF #641CB3 #B31C20
split-complementary
#6BB31C #1C20B3 #AF1CB3
monochromatic
#2C490B #4B7E14 #6BB31C #8ADE2E #A8E763

Accessibility & contrast

On white

2.60
#6BB31C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#6BB31C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6BB31C
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6BB31C#FFFFFF#000000##000000
##6BB31C1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA400
Deuteranopia (green-blind)
#B19F2F
Tritanopia (blue-blind)
#6BAB98
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #6bb31c;
/* rgb */ color: rgb(107, 179, 28);
/* oklch */ color: oklch(69.3% 0.186 133.1);
Tailwind
colors: {
  custom: {
    50: '#9cca68',
    500: '#6bb31c',
    950: '#000000',
  },
}
SCSS
$custom: #6bb31c;
$custom-light: #9cca68;
$custom-dark: #000000;
JSON
{
  "hex": "#6bb31c",
  "rgb": {
    "r": 107,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 88.609,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6927,
    "c": 0.18649,
    "h": 133.1
  },
  "luminance": 0.3545
}

Semantic roles & 50–950 ramp

primary
#6BB31C
secondary
#935FCB
accent
#38F090
background
#FAFCF6
surface
#F3F8EB
border
#CDD1C6
text
#0F1307
muted
#7F827A

Preview Lab

Preview with #6BB31C

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

Preview Lab → · Contrast checker → · Palette generator →

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