#31B749#31B749

#31B749 is a light, vivid green. Relative luminance 0.350; OKLCH L 68.5% C 0.189 H 145.9°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#31B749
RGBrgb(49, 183, 73)
HSLhsl(131, 58%, 45%)
HSVhsv(131, 73%, 72%)
CMYKcmyk(73.2%, 0%, 60.1%, 28.2%)
CIE-LABlab(65.75, -57.96, 44.96)
CIE-LCHlch(65.75, 73.36, 142.20°)
OKLaboklab(68.55% -0.1563 0.106)
OKLCHoklch(68.55% 0.189 145.9)
XYZxyz(19.4013, 34.9988, 12.0350)
Luminance0.3500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B749 #B7319F
analogous
#5CB731 #31B749 #31B78C
triadic
#31B749 #4931B7 #B74931
tetradic
#31B749 #315CB7 #B7319F #B78C31
square
#31B749 #315CB7 #B7319F #B78C31
split-complementary
#31B749 #8C31B7 #B7315C
monochromatic
#175622 #248736 #31B749 #54D16A #84DE94

Accessibility & contrast

On white

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

On black

8.00
#31B749 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B749
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B749#FFFFFF#000000##000000
##31B7491.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA63D
Deuteranopia (green-blind)
#AA9C52
Tritanopia (blue-blind)
#00B39F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b749;
/* rgb */ color: rgb(49, 183, 73);
/* oklch */ color: oklch(68.5% 0.189 145.9);
Tailwind
colors: {
  custom: {
    50: '#7dce7f',
    500: '#31b749',
    950: '#000000',
  },
}
SCSS
$custom: #31b749;
$custom-light: #7dce7f;
$custom-dark: #000000;
JSON
{
  "hex": "#31b749",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 73
  },
  "hsl": {
    "h": 130.746,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68547,
    "c": 0.18885,
    "h": 145.9
  },
  "luminance": 0.35001
}

Semantic roles & 50–950 ramp

primary
#31B749
secondary
#C87CBA
accent
#47C5E1
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31B749

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

Preview Lab → · Contrast checker → · Palette generator →

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