#31B05F#31B05F

#31B05F is a light, vivid green. Relative luminance 0.325; OKLCH L 67.0% C 0.161 H 151.0°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#31B05F
RGBrgb(49, 176, 95)
HSLhsl(142, 56%, 44%)
HSVhsv(142, 72%, 69%)
CMYKcmyk(72.2%, 0%, 46%, 31%)
CIE-LABlab(63.78, -52.25, 31.77)
CIE-LCHlch(63.78, 61.15, 148.70°)
OKLaboklab(67.01% -0.1406 0.0779)
OKLCHoklch(67.01% 0.161 151)
XYZxyz(18.8559, 32.5277, 16.1090)
Luminance0.3253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B05F #B03182
analogous
#43B031 #31B05F #31B09F
triadic
#31B05F #5F31B0 #B05F31
tetradic
#31B05F #3143B0 #B03182 #B09F31
square
#31B05F #3143B0 #B03182 #B09F31
split-complementary
#31B05F #9F31B0 #B03143
monochromatic
#16502B #248045 #31B05F #50CE7E #80DCA1

Accessibility & contrast

On white

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

On black

7.51
#31B05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B05F
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B05F#FFFFFF#000000##000000
##31B05F1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A159
Deuteranopia (green-blind)
#A19665
Tritanopia (blue-blind)
#00AD9D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b05f;
/* rgb */ color: rgb(49, 176, 95);
/* oklch */ color: oklch(67.0% 0.161 151.0);
Tailwind
colors: {
  custom: {
    50: '#7bc98d',
    500: '#31b05f',
    950: '#000000',
  },
}
SCSS
$custom: #31b05f;
$custom-light: #7bc98d;
$custom-dark: #000000;
JSON
{
  "hex": "#31b05f",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 95
  },
  "hsl": {
    "h": 141.732,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.67005,
    "c": 0.16079,
    "h": 151
  },
  "luminance": 0.3253
}

Semantic roles & 50–950 ramp

primary
#31B05F
secondary
#C578A9
accent
#48A9E0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B05F

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

Preview Lab → · Contrast checker → · Palette generator →

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