#31B740#31B740

#31B740 is a light, vivid green. Relative luminance 0.349; OKLCH L 68.4% C 0.196 H 144.6°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#31B740
RGBrgb(49, 183, 64)
HSLhsl(127, 58%, 45%)
HSVhsv(127, 73%, 72%)
CMYKcmyk(73.2%, 0%, 65%, 28.2%)
CIE-LABlab(65.66, -59.00, 48.86)
CIE-LCHlch(65.66, 76.60, 140.37°)
OKLaboklab(68.45% -0.1595 0.1134)
OKLCHoklch(68.45% 0.196 144.6)
XYZxyz(19.1242, 34.8879, 10.5757)
Luminance0.3489 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B740 #B731A8
analogous
#65B731 #31B740 #31B783
triadic
#31B740 #4031B7 #B74031
tetradic
#31B740 #3165B7 #B731A8 #B78331
square
#31B740 #3165B7 #B731A8 #B78331
split-complementary
#31B740 #8331B7 #B73165
monochromatic
#17561E #24872F #31B740 #54D162 #84DE8E

Accessibility & contrast

On white

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

On black

7.98
#31B740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B740
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B740#FFFFFF#000000##000000
##31B7401.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA631
Deuteranopia (green-blind)
#AB9B4B
Tritanopia (blue-blind)
#00B29E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b740;
/* rgb */ color: rgb(49, 183, 64);
/* oklch */ color: oklch(68.4% 0.196 144.6);
Tailwind
colors: {
  custom: {
    50: '#7dce7a',
    500: '#31b740',
    950: '#000000',
  },
}
SCSS
$custom: #31b740;
$custom-light: #7dce7a;
$custom-dark: #000000;
JSON
{
  "hex": "#31b740",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 64
  },
  "hsl": {
    "h": 126.716,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68447,
    "c": 0.19571,
    "h": 144.6
  },
  "luminance": 0.3489
}

Semantic roles & 50–950 ramp

primary
#31B740
secondary
#C87CBF
accent
#47D0E1
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #31B740

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

Preview Lab → · Contrast checker → · Palette generator →

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