#31AC30#31AC30

#31AC30 is a light, vivid green. Relative luminance 0.304; OKLCH L 65.3% C 0.194 H 142.9°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#31AC30
RGBrgb(49, 172, 48)
HSLhsl(120, 56%, 43%)
HSVhsv(120, 72%, 67%)
CMYKcmyk(71.5%, 0%, 72.1%, 32.5%)
CIE-LABlab(61.97, -56.87, 51.42)
CIE-LCHlch(61.97, 76.67, 137.88°)
OKLaboklab(65.35% -0.1544 0.117)
OKLCHoklch(65.35% 0.194 142.9)
XYZxyz(16.5516, 30.3696, 7.7854)
Luminance0.3037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC30 #AB30AC
analogous
#6FAC30 #31AC30 #30AC6D
triadic
#31AC30 #3031AC #AC3031
tetradic
#31AC30 #306FAC #AB30AC #AC6D30
square
#31AC30 #306FAC #AB30AC #AC6D30
split-complementary
#31AC30 #6D30AC #AC306F
monochromatic
#164C15 #237C23 #31AC30 #4DCD4C #7DDA7C

Accessibility & contrast

On white

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

On black

7.07
#31AC30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC30
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC30#FFFFFF#000000##000000
##31AC301.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1B
Deuteranopia (green-blind)
#A2923D
Tritanopia (blue-blind)
#05A794
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ac30;
/* rgb */ color: rgb(49, 172, 48);
/* oklch */ color: oklch(65.3% 0.194 142.9);
Tailwind
colors: {
  custom: {
    50: '#7cc670',
    500: '#31ac30',
    950: '#000000',
  },
}
SCSS
$custom: #31ac30;
$custom-light: #7cc670;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac30",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 48
  },
  "hsl": {
    "h": 119.516,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65346,
    "c": 0.19374,
    "h": 142.9
  },
  "luminance": 0.30371
}

Semantic roles & 50–950 ramp

primary
#31AC30
secondary
#C275C3
accent
#48E0DE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AC30

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

Preview Lab → · Contrast checker → · Palette generator →

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