#31C730#31C730

#31C730 is a light, highly saturated green. Relative luminance 0.417; OKLCH L 72.6% C 0.224 H 142.8°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#31C730
RGBrgb(49, 199, 48)
HSLhsl(120, 61%, 48%)
HSVhsv(120, 76%, 78%)
CMYKcmyk(75.4%, 0%, 75.9%, 22%)
CIE-LABlab(70.67, -65.56, 60.18)
CIE-LCHlch(70.67, 88.99, 137.45°)
OKLaboklab(72.57% -0.178 0.1353)
OKLCHoklch(72.57% 0.224 142.8)
XYZxyz(22.2222, 41.7106, 9.6755)
Luminance0.4171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C730 #C630C7
analogous
#7CC730 #31C730 #30C77A
triadic
#31C730 #3031C7 #C73031
tetradic
#31C730 #307CC7 #C630C7 #C77A30
square
#31C730 #307CC7 #C630C7 #C77A30
split-complementary
#31C730 #7A30C7 #C7307C
monochromatic
#196418 #259624 #31C730 #5DD85C #8EE48E

Accessibility & contrast

On white

2.25
#31C730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#31C730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C730
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C730#FFFFFF#000000##000000
##31C7301.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB40B
Deuteranopia (green-blind)
#BBA841
Tritanopia (blue-blind)
#00C1AA
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #31c730;
/* rgb */ color: rgb(49, 199, 48);
/* oklch */ color: oklch(72.6% 0.224 142.8);
Tailwind
colors: {
  custom: {
    50: '#82d973',
    500: '#31c730',
    950: '#000000',
  },
}
SCSS
$custom: #31c730;
$custom-light: #82d973;
$custom-dark: #000000;
JSON
{
  "hex": "#31c730",
  "rgb": {
    "r": 49,
    "g": 199,
    "b": 48
  },
  "hsl": {
    "h": 119.603,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.7257,
    "c": 0.22355,
    "h": 142.8
  },
  "luminance": 0.41713
}

Semantic roles & 50–950 ramp

primary
#31C730
secondary
#CE85CE
accent
#44E4E3
background
#F8FDF7
surface
#F0FBED
border
#CBD4C8
text
#0C1509
muted
#7D837B

Preview Lab

Preview with #31C730

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

Preview Lab → · Contrast checker → · Palette generator →

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