#6ABC31#6ABC31

#6ABC31 is a light, vivid yellow-green. Relative luminance 0.393; OKLCH L 71.6% C 0.188 H 135.5°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#6ABC31
RGBrgb(106, 188, 49)
HSLhsl(95, 59%, 46%)
HSVhsv(95, 74%, 74%)
CMYKcmyk(43.6%, 0%, 73.9%, 26.3%)
CIE-LABlab(68.93, -47.96, 58.70)
CIE-LCHlch(68.93, 75.80, 129.25°)
OKLaboklab(71.61% -0.1338 0.1317)
OKLCHoklch(71.61% 0.188 135.5)
XYZxyz(24.4809, 39.2509, 9.1914)
Luminance0.3925 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6ABC31 #8331BC
analogous
#B0BC31 #6ABC31 #31BC3E
triadic
#6ABC31 #316ABC #BC316A
tetradic
#6ABC31 #31B0BC #8331BC #BC3E31
square
#6ABC31 #31B0BC #8331BC #BC3E31
split-complementary
#6ABC31 #3E31BC #BC31B0
monochromatic
#335B18 #4F8B24 #6ABC31 #8AD357 #ACE088

Accessibility & contrast

On white

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

On black

8.85
#6ABC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6ABC31
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6ABC31#FFFFFF#000000##000000
##6ABC311.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC15
Deuteranopia (green-blind)
#B8A63F
Tritanopia (blue-blind)
#67B5A1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #6abc31;
/* rgb */ color: rgb(106, 188, 49);
/* oklch */ color: oklch(71.6% 0.188 135.5);
Tailwind
colors: {
  custom: {
    50: '#9bd173',
    500: '#6abc31',
    950: '#000000',
  },
}
SCSS
$custom: #6abc31;
$custom-light: #9bd173;
$custom-dark: #000000;
JSON
{
  "hex": "#6abc31",
  "rgb": {
    "r": 106,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 95.396,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71615,
    "c": 0.18777,
    "h": 135.5
  },
  "luminance": 0.39252
}

Semantic roles & 50–950 ramp

primary
#6ABC31
secondary
#AB7FCA
accent
#46E2A2
background
#FAFCF7
surface
#F3F9ED
border
#CDD2C8
text
#0F1409
muted
#7F827B

Preview Lab

Preview with #6ABC31

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

Preview Lab → · Contrast checker → · Palette generator →

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