#31C930#31C930

#31C930 is a light, highly saturated green. Relative luminance 0.426; OKLCH L 73.1% C 0.226 H 142.8°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#31C930
RGBrgb(49, 201, 48)
HSLhsl(120, 61%, 49%)
HSVhsv(120, 76%, 79%)
CMYKcmyk(75.6%, 0%, 76.1%, 21.2%)
CIE-LABlab(71.31, -66.18, 60.81)
CIE-LCHlch(71.31, 89.87, 137.42°)
OKLaboklab(73.1% -0.1797 0.1366)
OKLCHoklch(73.1% 0.226 142.8)
XYZxyz(22.6854, 42.6370, 9.8299)
Luminance0.4264 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C930 #C830C9
analogous
#7EC930 #31C930 #30C97C
triadic
#31C930 #3031C9 #C93031
tetradic
#31C930 #307EC9 #C830C9 #C97C30
square
#31C930 #307EC9 #C830C9 #C97C30
split-complementary
#31C930 #7C30C9 #C9307E
monochromatic
#196618 #259824 #31C930 #5FD85E #90E48F

Accessibility & contrast

On white

2.20
#31C930 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#31C930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C930
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C930#FFFFFF#000000##000000
##31C9301.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB609
Deuteranopia (green-blind)
#BDAA41
Tritanopia (blue-blind)
#00C3AC
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #31c930;
/* rgb */ color: rgb(49, 201, 48);
/* oklch */ color: oklch(73.1% 0.226 142.8);
Tailwind
colors: {
  custom: {
    50: '#82db73',
    500: '#31c930',
    950: '#000000',
  },
}
SCSS
$custom: #31c930;
$custom-light: #82db73;
$custom-dark: #000000;
JSON
{
  "hex": "#31c930",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 48
  },
  "hsl": {
    "h": 119.608,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73099,
    "c": 0.22568,
    "h": 142.8
  },
  "luminance": 0.4264
}

Semantic roles & 50–950 ramp

primary
#31C930
secondary
#CE86CF
accent
#43E5E3
background
#F8FDF7
surface
#F0FBED
border
#CBD4C8
text
#0C1509
muted
#7D837B

Preview Lab

Preview with #31C930

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

Preview Lab → · Contrast checker → · Palette generator →

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