#31AB30#31AB30

#31AB30 is a light, vivid green. Relative luminance 0.300; OKLCH L 65.1% C 0.193 H 142.9°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#31AB30
RGBrgb(49, 171, 48)
HSLhsl(120, 56%, 43%)
HSVhsv(120, 72%, 67%)
CMYKcmyk(71.3%, 0%, 71.9%, 32.9%)
CIE-LABlab(61.65, -56.54, 51.09)
CIE-LCHlch(61.65, 76.20, 137.90°)
OKLaboklab(65.08% -0.1535 0.1163)
OKLCHoklch(65.08% 0.193 142.9)
XYZxyz(16.3620, 29.9904, 7.7222)
Luminance0.2999 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB30 #AA30AB
analogous
#6EAB30 #31AB30 #30AB6C
triadic
#31AB30 #3031AB #AB3031
tetradic
#31AB30 #306EAB #AA30AB #AB6C30
square
#31AB30 #306EAB #AA30AB #AB6C30
split-complementary
#31AB30 #6C30AB #AB306E
monochromatic
#164B15 #237B23 #31AB30 #4DCD4C #7CDA7B

Accessibility & contrast

On white

3.00
#31AB30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#31AB30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB30
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB30#FFFFFF#000000##000000
##31AB301.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1C
Deuteranopia (green-blind)
#A1913C
Tritanopia (blue-blind)
#07A693
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31ab30;
/* rgb */ color: rgb(49, 171, 48);
/* oklch */ color: oklch(65.1% 0.193 142.9);
Tailwind
colors: {
  custom: {
    50: '#7cc570',
    500: '#31ab30',
    950: '#000000',
  },
}
SCSS
$custom: #31ab30;
$custom-light: #7cc570;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab30",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 48
  },
  "hsl": {
    "h": 119.512,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65075,
    "c": 0.1926,
    "h": 142.9
  },
  "luminance": 0.29992
}

Semantic roles & 50–950 ramp

primary
#31AB30
secondary
#C274C3
accent
#48DFDE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AB30

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

Preview Lab → · Contrast checker → · Palette generator →

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