#31AD30#31AD30

#31AD30 is a light, vivid green. Relative luminance 0.308; OKLCH L 65.6% C 0.195 H 142.9°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#31AD30
RGBrgb(49, 173, 48)
HSLhsl(120, 57%, 43%)
HSVhsv(120, 72%, 68%)
CMYKcmyk(71.7%, 0%, 72.3%, 32.2%)
CIE-LABlab(62.30, -57.20, 51.76)
CIE-LCHlch(62.30, 77.14, 137.86°)
OKLaboklab(65.62% -0.1553 0.1177)
OKLCHoklch(65.62% 0.195 142.9)
XYZxyz(16.7427, 30.7517, 7.8490)
Luminance0.3075 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AD30 #AC30AD
analogous
#6FAD30 #31AD30 #30AD6D
triadic
#31AD30 #3031AD #AD3031
tetradic
#31AD30 #306FAD #AC30AD #AD6D30
square
#31AD30 #306FAD #AC30AD #AD6D30
split-complementary
#31AD30 #6D30AD #AD306F
monochromatic
#164D15 #237D23 #31AD30 #4ECE4D #7DDB7D

Accessibility & contrast

On white

2.94
#31AD30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#31AD30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AD30
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AD30#FFFFFF#000000##000000
##31AD301.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1B
Deuteranopia (green-blind)
#A3933D
Tritanopia (blue-blind)
#04A894
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ad30;
/* rgb */ color: rgb(49, 173, 48);
/* oklch */ color: oklch(65.6% 0.195 142.9);
Tailwind
colors: {
  custom: {
    50: '#7cc770',
    500: '#31ad30',
    950: '#000000',
  },
}
SCSS
$custom: #31ad30;
$custom-light: #7cc770;
$custom-dark: #000000;
JSON
{
  "hex": "#31ad30",
  "rgb": {
    "r": 49,
    "g": 173,
    "b": 48
  },
  "hsl": {
    "h": 119.52,
    "s": 56.561,
    "l": 43.333
  },
  "oklch": {
    "l": 0.65616,
    "c": 0.19489,
    "h": 142.9
  },
  "luminance": 0.30754
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31AD30

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

Preview Lab → · Contrast checker → · Palette generator →

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