#31B058#31B058

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

Color values

HEX#31B058
RGBrgb(49, 176, 88)
HSLhsl(138, 56%, 44%)
HSVhsv(138, 72%, 69%)
CMYKcmyk(72.2%, 0%, 50%, 31%)
CIE-LABlab(63.68, -53.40, 35.22)
CIE-LCHlch(63.68, 63.97, 146.59°)
OKLaboklab(66.89% -0.1437 0.0855)
OKLCHoklch(66.89% 0.167 149.2)
XYZxyz(18.5519, 32.4061, 14.5079)
Luminance0.3241 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B058 #B03189
analogous
#4AB031 #31B058 #31B098
triadic
#31B058 #5831B0 #B05831
tetradic
#31B058 #314AB0 #B03189 #B09831
square
#31B058 #314AB0 #B03189 #B09831
split-complementary
#31B058 #9831B0 #B0314A
monochromatic
#165028 #248040 #31B058 #50CE77 #80DC9C

Accessibility & contrast

On white

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

On black

7.48
#31B058 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B058
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B058#FFFFFF#000000##000000
##31B0581.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A151
Deuteranopia (green-blind)
#A2965E
Tritanopia (blue-blind)
#00AD9B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b058;
/* rgb */ color: rgb(49, 176, 88);
/* oklch */ color: oklch(66.9% 0.167 149.2);
Tailwind
colors: {
  custom: {
    50: '#7bc989',
    500: '#31b058',
    950: '#000000',
  },
}
SCSS
$custom: #31b058;
$custom-light: #7bc989;
$custom-dark: #000000;
JSON
{
  "hex": "#31b058",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 88
  },
  "hsl": {
    "h": 138.425,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66891,
    "c": 0.16722,
    "h": 149.2
  },
  "luminance": 0.32408
}

Semantic roles & 50–950 ramp

primary
#31B058
secondary
#C578AD
accent
#48B1E0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31B058

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

Preview Lab → · Contrast checker → · Palette generator →

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