#31B25D#31B25D

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

Color values

HEX#31B25D
RGBrgb(49, 178, 93)
HSLhsl(140, 57%, 45%)
HSVhsv(140, 72%, 70%)
CMYKcmyk(72.5%, 0%, 47.8%, 30.2%)
CIE-LABlab(64.39, -53.32, 33.57)
CIE-LCHlch(64.39, 63.01, 147.81°)
OKLaboklab(67.5% -0.1435 0.082)
OKLCHoklch(67.5% 0.165 150.3)
XYZxyz(19.1612, 33.2819, 15.7680)
Luminance0.3328 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B25D #B23186
analogous
#46B231 #31B25D #31B29E
triadic
#31B25D #5D31B2 #B25D31
tetradic
#31B25D #3146B2 #B23186 #B29E31
square
#31B25D #3146B2 #B23186 #B29E31
split-complementary
#31B25D #9E31B2 #B23146
monochromatic
#17522B #248244 #31B25D #51CF7C #81DCA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B25D#FFFFFF#000000##000000
##31B25D1.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)
#B3A356
Deuteranopia (green-blind)
#A49863
Tritanopia (blue-blind)
#00AF9E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b25d;
/* rgb */ color: rgb(49, 178, 93);
/* oklch */ color: oklch(67.5% 0.165 150.3);
Tailwind
colors: {
  custom: {
    50: '#7bca8c',
    500: '#31b25d',
    950: '#000000',
  },
}
SCSS
$custom: #31b25d;
$custom-light: #7bca8c;
$custom-dark: #000000;
JSON
{
  "hex": "#31b25d",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 93
  },
  "hsl": {
    "h": 140.465,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67501,
    "c": 0.16526,
    "h": 150.3
  },
  "luminance": 0.33284
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B25D

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

Preview Lab → · Contrast checker → · Palette generator →

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