#31B05C#31B05C

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

Color values

HEX#31B05C
RGBrgb(49, 176, 92)
HSLhsl(140, 56%, 44%)
HSVhsv(140, 72%, 69%)
CMYKcmyk(72.2%, 0%, 47.7%, 31%)
CIE-LABlab(63.73, -52.75, 33.26)
CIE-LCHlch(63.73, 62.36, 147.77°)
OKLaboklab(66.96% -0.142 0.0812)
OKLCHoklch(66.96% 0.164 150.2)
XYZxyz(18.7222, 32.4742, 15.4046)
Luminance0.3248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B05C #B03185
analogous
#46B031 #31B05C #31B09C
triadic
#31B05C #5C31B0 #B05C31
tetradic
#31B05C #3146B0 #B03185 #B09C31
square
#31B05C #3146B0 #B03185 #B09C31
split-complementary
#31B05C #9C31B0 #B03146
monochromatic
#16502A #248043 #31B05C #50CE7B #80DC9F

Accessibility & contrast

On white

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

On black

7.50
#31B05C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B05C
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B05C#FFFFFF#000000##000000
##31B05C1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b05c;
/* rgb */ color: rgb(49, 176, 92);
/* oklch */ color: oklch(67.0% 0.164 150.2);
Tailwind
colors: {
  custom: {
    50: '#7bc98b',
    500: '#31b05c',
    950: '#000000',
  },
}
SCSS
$custom: #31b05c;
$custom-light: #7bc98b;
$custom-dark: #000000;
JSON
{
  "hex": "#31b05c",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 92
  },
  "hsl": {
    "h": 140.315,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66955,
    "c": 0.16357,
    "h": 150.2
  },
  "luminance": 0.32476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B05C

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

Preview Lab → · Contrast checker → · Palette generator →

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