#31B43E#31B43E

#31B43E is a light, vivid green. Relative luminance 0.336; OKLCH L 67.6% C 0.194 H 144.4°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#31B43E
RGBrgb(49, 180, 62)
HSLhsl(126, 57%, 45%)
HSVhsv(126, 73%, 71%)
CMYKcmyk(72.8%, 0%, 65.6%, 29.4%)
CIE-LABlab(64.68, -58.21, 48.63)
CIE-LCHlch(64.68, 75.85, 140.12°)
OKLaboklab(67.63% -0.1574 0.1127)
OKLCHoklch(67.63% 0.194 144.4)
XYZxyz(18.4562, 33.6412, 10.0772)
Luminance0.3364 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B43E #B431A7
analogous
#66B431 #31B43E #31B47F
triadic
#31B43E #3E31B4 #B43E31
tetradic
#31B43E #3166B4 #B431A7 #B47F31
square
#31B43E #3166B4 #B431A7 #B47F31
split-complementary
#31B43E #7F31B4 #B43166
monochromatic
#17541D #24842D #31B43E #52D05F #82DD8B

Accessibility & contrast

On white

2.72
#31B43E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#31B43E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B43E
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B43E#FFFFFF#000000##000000
##31B43E1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A32F
Deuteranopia (green-blind)
#A89949
Tritanopia (blue-blind)
#00AF9C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b43e;
/* rgb */ color: rgb(49, 180, 62);
/* oklch */ color: oklch(67.6% 0.194 144.4);
Tailwind
colors: {
  custom: {
    50: '#7dcc78',
    500: '#31b43e',
    950: '#000000',
  },
}
SCSS
$custom: #31b43e;
$custom-light: #7dcc78;
$custom-dark: #000000;
JSON
{
  "hex": "#31b43e",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 62
  },
  "hsl": {
    "h": 125.954,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67625,
    "c": 0.19363,
    "h": 144.4
  },
  "luminance": 0.33643
}

Semantic roles & 50–950 ramp

primary
#31B43E
secondary
#C67BBF
accent
#47D1E0
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B43E

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

Preview Lab → · Contrast checker → · Palette generator →

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