#31B130#31B130

#31B130 is a light, vivid green. Relative luminance 0.323; OKLCH L 66.7% C 0.199 H 142.8°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#31B130
RGBrgb(49, 177, 48)
HSLhsl(120, 57%, 44%)
HSVhsv(120, 73%, 69%)
CMYKcmyk(72.3%, 0%, 72.9%, 30.6%)
CIE-LABlab(63.60, -58.53, 53.09)
CIE-LCHlch(63.60, 79.02, 137.79°)
OKLaboklab(66.69% -0.1589 0.1205)
OKLCHoklch(66.69% 0.199 142.8)
XYZxyz(17.5212, 32.3087, 8.1085)
Luminance0.3231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B130 #B030B1
analogous
#72B130 #31B130 #30B170
triadic
#31B130 #3031B1 #B13031
tetradic
#31B130 #3072B1 #B030B1 #B17030
square
#31B130 #3072B1 #B030B1 #B17030
split-complementary
#31B130 #7030B1 #B13072
monochromatic
#165116 #248123 #31B130 #50CF4F #80DC7F

Accessibility & contrast

On white

2.81
#31B130 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#31B130 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B130
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B130#FFFFFF#000000##000000
##31B1301.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A019
Deuteranopia (green-blind)
#A6963D
Tritanopia (blue-blind)
#00AC98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b130;
/* rgb */ color: rgb(49, 177, 48);
/* oklch */ color: oklch(66.7% 0.199 142.8);
Tailwind
colors: {
  custom: {
    50: '#7dc970',
    500: '#31b130',
    950: '#000000',
  },
}
SCSS
$custom: #31b130;
$custom-light: #7dc970;
$custom-dark: #000000;
JSON
{
  "hex": "#31b130",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 48
  },
  "hsl": {
    "h": 119.535,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66694,
    "c": 0.19943,
    "h": 142.8
  },
  "luminance": 0.32311
}

Semantic roles & 50–950 ramp

primary
#31B130
secondary
#C578C5
accent
#47E1DF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31B130

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

Preview Lab → · Contrast checker → · Palette generator →

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