#31AE30#31AE30

#31AE30 is a light, vivid green. Relative luminance 0.311; OKLCH L 65.9% C 0.196 H 142.9°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#31AE30
RGBrgb(49, 174, 48)
HSLhsl(120, 57%, 44%)
HSVhsv(120, 72%, 68%)
CMYKcmyk(71.8%, 0%, 72.4%, 31.8%)
CIE-LABlab(62.62, -57.54, 52.09)
CIE-LCHlch(62.62, 77.62, 137.84°)
OKLaboklab(65.89% -0.1562 0.1184)
OKLCHoklch(65.89% 0.196 142.9)
XYZxyz(16.9352, 31.1366, 7.9132)
Luminance0.3114 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AE30 #AD30AE
analogous
#70AE30 #31AE30 #30AE6E
triadic
#31AE30 #3031AE #AE3031
tetradic
#31AE30 #3070AE #AD30AE #AE6E30
square
#31AE30 #3070AE #AD30AE #AE6E30
split-complementary
#31AE30 #6E30AE #AE3070
monochromatic
#164E16 #237E23 #31AE30 #4ECE4D #7EDB7D

Accessibility & contrast

On white

2.91
#31AE30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#31AE30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AE30
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AE30#FFFFFF#000000##000000
##31AE301.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D1A
Deuteranopia (green-blind)
#A4943D
Tritanopia (blue-blind)
#03A995
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ae30;
/* rgb */ color: rgb(49, 174, 48);
/* oklch */ color: oklch(65.9% 0.196 142.9);
Tailwind
colors: {
  custom: {
    50: '#7cc770',
    500: '#31ae30',
    950: '#000000',
  },
}
SCSS
$custom: #31ae30;
$custom-light: #7cc770;
$custom-dark: #000000;
JSON
{
  "hex": "#31ae30",
  "rgb": {
    "r": 49,
    "g": 174,
    "b": 48
  },
  "hsl": {
    "h": 119.524,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.65886,
    "c": 0.19603,
    "h": 142.9
  },
  "luminance": 0.31138
}

Semantic roles & 50–950 ramp

primary
#31AE30
secondary
#C376C4
accent
#48E0DF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AE30

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

Preview Lab → · Contrast checker → · Palette generator →

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