#31AC28#31AC28

#31AC28 is a light, vivid green. Relative luminance 0.303; OKLCH L 65.3% C 0.198 H 142.1°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#31AC28
RGBrgb(49, 172, 40)
HSLhsl(116, 62%, 42%)
HSVhsv(116, 77%, 67%)
CMYKcmyk(71.5%, 0%, 76.7%, 32.5%)
CIE-LABlab(61.92, -57.50, 54.25)
CIE-LCHlch(61.92, 79.05, 136.66°)
OKLaboklab(65.29% -0.1565 0.1218)
OKLCHoklch(65.29% 0.198 142.1)
XYZxyz(16.4012, 30.3094, 6.9930)
Luminance0.3031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC28 #A328AC
analogous
#73AC28 #31AC28 #28AC61
triadic
#31AC28 #2831AC #AC2831
tetradic
#31AC28 #2873AC #A328AC #AC6128
square
#31AC28 #2873AC #A328AC #AC6128
split-complementary
#31AC28 #6128AC #AC2873
monochromatic
#154911 #237A1C #31AC28 #49D23F #78DE71

Accessibility & contrast

On white

2.97
#31AC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#31AC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC28
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC28#FFFFFF#000000##000000
##31AC281.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B08
Deuteranopia (green-blind)
#A29237
Tritanopia (blue-blind)
#0AA793
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ac28;
/* rgb */ color: rgb(49, 172, 40);
/* oklch */ color: oklch(65.3% 0.198 142.1);
Tailwind
colors: {
  custom: {
    50: '#7cc66c',
    500: '#31ac28',
    950: '#000000',
  },
}
SCSS
$custom: #31ac28;
$custom-light: #7cc66c;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac28",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 115.909,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65286,
    "c": 0.19834,
    "h": 142.1
  },
  "luminance": 0.30311
}

Semantic roles & 50–950 ramp

primary
#31AC28
secondary
#BF6BC5
accent
#42E5DA
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31AC28

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

Preview Lab → · Contrast checker → · Palette generator →

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