#31B25E#31B25E

#31B25E is a light, vivid green. Relative luminance 0.333; OKLCH L 67.5% C 0.164 H 150.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#31B25E
RGBrgb(49, 178, 94)
HSLhsl(141, 57%, 45%)
HSVhsv(141, 72%, 70%)
CMYKcmyk(72.5%, 0%, 47.2%, 30.2%)
CIE-LABlab(64.40, -53.16, 33.08)
CIE-LCHlch(64.40, 62.61, 148.11°)
OKLaboklab(67.52% -0.143 0.0809)
OKLCHoklch(67.52% 0.164 150.5)
XYZxyz(19.2058, 33.2997, 16.0028)
Luminance0.3330 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B25E #B23185
analogous
#45B231 #31B25E #31B29F
triadic
#31B25E #5E31B2 #B25E31
tetradic
#31B25E #3145B2 #B23185 #B29F31
square
#31B25E #3145B2 #B23185 #B29F31
split-complementary
#31B25E #9F31B2 #B23145
monochromatic
#17522B #248245 #31B25E #51CF7D #81DCA1

Accessibility & contrast

On white

2.74
#31B25E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#31B25E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B25E
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B25E#FFFFFF#000000##000000
##31B25E1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A357
Deuteranopia (green-blind)
#A49864
Tritanopia (blue-blind)
#00AF9E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b25e;
/* rgb */ color: rgb(49, 178, 94);
/* oklch */ color: oklch(67.5% 0.164 150.5);
Tailwind
colors: {
  custom: {
    50: '#7bca8d',
    500: '#31b25e',
    950: '#000000',
  },
}
SCSS
$custom: #31b25e;
$custom-light: #7bca8d;
$custom-dark: #000000;
JSON
{
  "hex": "#31b25e",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 94
  },
  "hsl": {
    "h": 140.93,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67518,
    "c": 0.16434,
    "h": 150.5
  },
  "luminance": 0.33302
}

Semantic roles & 50–950 ramp

primary
#31B25E
secondary
#C579AB
accent
#48ABE0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B25E

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

Preview Lab → · Contrast checker → · Palette generator →

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