#31AB28#31AB28

#31AB28 is a light, vivid green. Relative luminance 0.299; OKLCH L 65.0% C 0.197 H 142.1°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#31AB28
RGBrgb(49, 171, 40)
HSLhsl(116, 62%, 41%)
HSVhsv(116, 77%, 67%)
CMYKcmyk(71.3%, 0%, 76.6%, 32.9%)
CIE-LABlab(61.59, -57.17, 53.93)
CIE-LCHlch(61.59, 78.59, 136.67°)
OKLaboklab(65.02% -0.1556 0.1212)
OKLCHoklch(65.02% 0.197 142.1)
XYZxyz(16.2116, 29.9302, 6.9298)
Luminance0.2993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB28 #A228AB
analogous
#73AB28 #31AB28 #28AB61
triadic
#31AB28 #2831AB #AB2831
tetradic
#31AB28 #2873AB #A228AB #AB6128
square
#31AB28 #2873AB #A228AB #AB6128
split-complementary
#31AB28 #6128AB #AB2873
monochromatic
#154811 #23791C #31AB28 #48D23E #77DE70

Accessibility & contrast

On white

3.01
#31AB28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#31AB28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31AB28
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB28#FFFFFF#000000##000000
##31AB281.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B09
Deuteranopia (green-blind)
#A19137
Tritanopia (blue-blind)
#0CA692
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31ab28;
/* rgb */ color: rgb(49, 171, 40);
/* oklch */ color: oklch(65.0% 0.197 142.1);
Tailwind
colors: {
  custom: {
    50: '#7cc56c',
    500: '#31ab28',
    950: '#000000',
  },
}
SCSS
$custom: #31ab28;
$custom-light: #7cc56c;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab28",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 115.878,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.65016,
    "c": 0.19723,
    "h": 142.1
  },
  "luminance": 0.29932
}

Semantic roles & 50–950 ramp

primary
#31AB28
secondary
#BE6AC4
accent
#43E5DA
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31AB28

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

Preview Lab → · Contrast checker → · Palette generator →

#31AB28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva