#31B144#31B144

#31B144 is a light, vivid green. Relative luminance 0.325; OKLCH L 66.9% C 0.186 H 145.3°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#31B144
RGBrgb(49, 177, 68)
HSLhsl(129, 57%, 44%)
HSVhsv(129, 72%, 69%)
CMYKcmyk(72.3%, 0%, 61.6%, 30.6%)
CIE-LABlab(63.76, -56.52, 44.96)
CIE-LCHlch(63.76, 72.22, 141.49°)
OKLaboklab(66.89% -0.1526 0.1055)
OKLCHoklch(66.89% 0.186 145.3)
XYZxyz(18.0309, 32.5126, 10.7930)
Luminance0.3251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B144 #B1319E
analogous
#5EB131 #31B144 #31B184
triadic
#31B144 #4431B1 #B14431
tetradic
#31B144 #315EB1 #B1319E #B18431
square
#31B144 #315EB1 #B1319E #B18431
split-complementary
#31B144 #8431B1 #B1315E
monochromatic
#16511F #248132 #31B144 #51CF63 #80DC8E

Accessibility & contrast

On white

2.80
#31B144 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#31B144 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B144
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B144#FFFFFF#000000##000000
##31B1441.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A138
Deuteranopia (green-blind)
#A5964D
Tritanopia (blue-blind)
#00AD9A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b144;
/* rgb */ color: rgb(49, 177, 68);
/* oklch */ color: oklch(66.9% 0.186 145.3);
Tailwind
colors: {
  custom: {
    50: '#7cc97c',
    500: '#31b144',
    950: '#000000',
  },
}
SCSS
$custom: #31b144;
$custom-light: #7cc97c;
$custom-dark: #000000;
JSON
{
  "hex": "#31b144",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 68
  },
  "hsl": {
    "h": 128.906,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66887,
    "c": 0.18551,
    "h": 145.3
  },
  "luminance": 0.32515
}

Semantic roles & 50–950 ramp

primary
#31B144
secondary
#C579BA
accent
#48C9E0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B144

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

Preview Lab → · Contrast checker → · Palette generator →

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