#31B059#31B059

#31B059 is a light, vivid green. Relative luminance 0.324; OKLCH L 66.9% C 0.166 H 149.5°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#31B059
RGBrgb(49, 176, 89)
HSLhsl(139, 56%, 44%)
HSVhsv(139, 72%, 69%)
CMYKcmyk(72.2%, 0%, 49.4%, 31%)
CIE-LABlab(63.69, -53.24, 34.73)
CIE-LCHlch(63.69, 63.57, 146.88°)
OKLaboklab(66.91% -0.1433 0.0845)
OKLCHoklch(66.91% 0.166 149.5)
XYZxyz(18.5936, 32.4228, 14.7276)
Luminance0.3242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B059 #B03188
analogous
#49B031 #31B059 #31B099
triadic
#31B059 #5931B0 #B05931
tetradic
#31B059 #3149B0 #B03188 #B09931
square
#31B059 #3149B0 #B03188 #B09931
split-complementary
#31B059 #9931B0 #B03149
monochromatic
#165029 #248041 #31B059 #50CE78 #80DC9D

Accessibility & contrast

On white

2.81
#31B059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#31B059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B059
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B059#FFFFFF#000000##000000
##31B0591.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A152
Deuteranopia (green-blind)
#A2965F
Tritanopia (blue-blind)
#00AD9C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b059;
/* rgb */ color: rgb(49, 176, 89);
/* oklch */ color: oklch(66.9% 0.166 149.5);
Tailwind
colors: {
  custom: {
    50: '#7bc989',
    500: '#31b059',
    950: '#000000',
  },
}
SCSS
$custom: #31b059;
$custom-light: #7bc989;
$custom-dark: #000000;
JSON
{
  "hex": "#31b059",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 89
  },
  "hsl": {
    "h": 138.898,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66907,
    "c": 0.16631,
    "h": 149.5
  },
  "luminance": 0.32425
}

Semantic roles & 50–950 ramp

primary
#31B059
secondary
#C578AD
accent
#48B0E0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B059

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

Preview Lab → · Contrast checker → · Palette generator →

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