#31B141#31B141

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

Color values

HEX#31B141
RGBrgb(49, 177, 65)
HSLhsl(128, 57%, 44%)
HSVhsv(128, 72%, 69%)
CMYKcmyk(72.3%, 0%, 63.3%, 30.6%)
CIE-LABlab(63.74, -56.86, 46.28)
CIE-LCHlch(63.74, 73.32, 140.86°)
OKLaboklab(66.85% -0.1536 0.1081)
OKLCHoklch(66.85% 0.188 144.9)
XYZxyz(17.9417, 32.4769, 10.3231)
Luminance0.3248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B141 #B131A1
analogous
#61B131 #31B141 #31B181
triadic
#31B141 #4131B1 #B14131
tetradic
#31B141 #3161B1 #B131A1 #B18131
square
#31B141 #3161B1 #B131A1 #B18131
split-complementary
#31B141 #8131B1 #B13161
monochromatic
#16511E #24812F #31B141 #51CF60 #80DC8C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B141#FFFFFF#000000##000000
##31B1411.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)
#B4A134
Deuteranopia (green-blind)
#A5964B
Tritanopia (blue-blind)
#00AC99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b141;
/* rgb */ color: rgb(49, 177, 65);
/* oklch */ color: oklch(66.9% 0.188 144.9);
Tailwind
colors: {
  custom: {
    50: '#7cc97a',
    500: '#31b141',
    950: '#000000',
  },
}
SCSS
$custom: #31b141;
$custom-light: #7cc97a;
$custom-dark: #000000;
JSON
{
  "hex": "#31b141",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 65
  },
  "hsl": {
    "h": 127.5,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66853,
    "c": 0.18783,
    "h": 144.9
  },
  "luminance": 0.32479
}

Semantic roles & 50–950 ramp

primary
#31B141
secondary
#C579BB
accent
#48CDE0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B141

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

Preview Lab → · Contrast checker → · Palette generator →

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