#31B745#31B745

#31B745 is a light, vivid green. Relative luminance 0.349; OKLCH L 68.5% C 0.192 H 145.3°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#31B745
RGBrgb(49, 183, 69)
HSLhsl(129, 58%, 45%)
HSVhsv(129, 73%, 72%)
CMYKcmyk(73.2%, 0%, 62.3%, 28.2%)
CIE-LABlab(65.71, -58.44, 46.73)
CIE-LCHlch(65.71, 74.82, 141.36°)
OKLaboklab(68.5% -0.1578 0.1094)
OKLCHoklch(68.5% 0.192 145.3)
XYZxyz(19.2730, 34.9474, 11.3589)
Luminance0.3495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B745 #B731A3
analogous
#60B731 #31B745 #31B788
triadic
#31B745 #4531B7 #B74531
tetradic
#31B745 #3160B7 #B731A3 #B78831
square
#31B745 #3160B7 #B731A3 #B78831
split-complementary
#31B745 #8831B7 #B73160
monochromatic
#175621 #248733 #31B745 #54D167 #84DE92

Accessibility & contrast

On white

2.63
#31B745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#31B745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B745
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B745#FFFFFF#000000##000000
##31B7451.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA638
Deuteranopia (green-blind)
#AB9B4F
Tritanopia (blue-blind)
#00B29F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b745;
/* rgb */ color: rgb(49, 183, 69);
/* oklch */ color: oklch(68.5% 0.192 145.3);
Tailwind
colors: {
  custom: {
    50: '#7dce7d',
    500: '#31b745',
    950: '#000000',
  },
}
SCSS
$custom: #31b745;
$custom-light: #7dce7d;
$custom-dark: #000000;
JSON
{
  "hex": "#31b745",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 69
  },
  "hsl": {
    "h": 128.955,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68501,
    "c": 0.19197,
    "h": 145.3
  },
  "luminance": 0.3495
}

Semantic roles & 50–950 ramp

primary
#31B745
secondary
#C87CBC
accent
#47CAE1
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31B745

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

Preview Lab → · Contrast checker → · Palette generator →

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