#31B830#31B830

#31B830 is a light, highly saturated green. Relative luminance 0.351; OKLCH L 68.6% C 0.207 H 142.8°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#31B830
RGBrgb(49, 184, 48)
HSLhsl(120, 59%, 45%)
HSVhsv(120, 74%, 72%)
CMYKcmyk(73.4%, 0%, 73.9%, 27.8%)
CIE-LABlab(65.86, -60.81, 55.39)
CIE-LCHlch(65.86, 82.26, 137.67°)
OKLaboklab(68.57% -0.1651 0.1253)
OKLCHoklch(68.57% 0.207 142.8)
XYZxyz(18.9395, 35.1452, 8.5813)
Luminance0.3515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B830 #B730B8
analogous
#75B830 #31B830 #30B873
triadic
#31B830 #3031B8 #B83031
tetradic
#31B830 #3075B8 #B730B8 #B87330
square
#31B830 #3075B8 #B730B8 #B87330
split-complementary
#31B830 #7330B8 #B83075
monochromatic
#175717 #248723 #31B830 #54D253 #84DF84

Accessibility & contrast

On white

2.62
#31B830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#31B830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B830
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B830#FFFFFF#000000##000000
##31B8301.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA616
Deuteranopia (green-blind)
#AD9C3E
Tritanopia (blue-blind)
#00B39E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b830;
/* rgb */ color: rgb(49, 184, 48);
/* oklch */ color: oklch(68.6% 0.207 142.8);
Tailwind
colors: {
  custom: {
    50: '#7ecf71',
    500: '#31b830',
    950: '#000000',
  },
}
SCSS
$custom: #31b830;
$custom-light: #7ecf71;
$custom-dark: #000000;
JSON
{
  "hex": "#31b830",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 48
  },
  "hsl": {
    "h": 119.559,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68574,
    "c": 0.20726,
    "h": 142.8
  },
  "luminance": 0.35147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B830

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

Preview Lab → · Contrast checker → · Palette generator →

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