#31B930#31B930

#31B930 is a light, highly saturated green. Relative luminance 0.356; OKLCH L 68.8% C 0.208 H 142.8°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#31B930
RGBrgb(49, 185, 48)
HSLhsl(120, 59%, 46%)
HSVhsv(120, 74%, 73%)
CMYKcmyk(73.5%, 0%, 74.1%, 27.5%)
CIE-LABlab(66.18, -61.13, 55.72)
CIE-LCHlch(66.18, 82.71, 137.65°)
OKLaboklab(68.84% -0.166 0.1259)
OKLCHoklch(68.84% 0.208 142.8)
XYZxyz(19.1479, 35.5621, 8.6508)
Luminance0.3556 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B930 #B830B9
analogous
#75B930 #31B930 #30B973
triadic
#31B930 #3031B9 #B93031
tetradic
#31B930 #3075B9 #B830B9 #B97330
square
#31B930 #3075B9 #B830B9 #B97330
split-complementary
#31B930 #7330B9 #B93075
monochromatic
#175817 #248823 #31B930 #55D354 #85DF84

Accessibility & contrast

On white

2.59
#31B930 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#31B930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B930
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B930#FFFFFF#000000##000000
##31B9301.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA715
Deuteranopia (green-blind)
#AE9D3F
Tritanopia (blue-blind)
#00B39F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b930;
/* rgb */ color: rgb(49, 185, 48);
/* oklch */ color: oklch(68.8% 0.208 142.8);
Tailwind
colors: {
  custom: {
    50: '#7fcf71',
    500: '#31b930',
    950: '#000000',
  },
}
SCSS
$custom: #31b930;
$custom-light: #7fcf71;
$custom-dark: #000000;
JSON
{
  "hex": "#31b930",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 48
  },
  "hsl": {
    "h": 119.562,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68842,
    "c": 0.20837,
    "h": 142.8
  },
  "luminance": 0.35564
}

Semantic roles & 50–950 ramp

primary
#31B930
secondary
#C87CC9
accent
#46E2E1
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #31B930

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

Preview Lab → · Contrast checker → · Palette generator →

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