#31B747#31B747

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

Color values

HEX#31B747
RGBrgb(49, 183, 71)
HSLhsl(130, 58%, 45%)
HSVhsv(130, 73%, 72%)
CMYKcmyk(73.2%, 0%, 61.2%, 28.2%)
CIE-LABlab(65.73, -58.21, 45.85)
CIE-LCHlch(65.73, 74.09, 141.77°)
OKLaboklab(68.52% -0.157 0.1077)
OKLCHoklch(68.52% 0.19 145.6)
XYZxyz(19.3361, 34.9727, 11.6914)
Luminance0.3498 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B747 #B731A1
analogous
#5EB731 #31B747 #31B78A
triadic
#31B747 #4731B7 #B74731
tetradic
#31B747 #315EB7 #B731A1 #B78A31
square
#31B747 #315EB7 #B731A1 #B78A31
split-complementary
#31B747 #8A31B7 #B7315E
monochromatic
#175622 #248734 #31B747 #54D169 #84DE93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B747#FFFFFF#000000##000000
##31B7471.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)
#BAA63B
Deuteranopia (green-blind)
#AA9B50
Tritanopia (blue-blind)
#00B29F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b747;
/* rgb */ color: rgb(49, 183, 71);
/* oklch */ color: oklch(68.5% 0.190 145.6);
Tailwind
colors: {
  custom: {
    50: '#7dce7e',
    500: '#31b747',
    950: '#000000',
  },
}
SCSS
$custom: #31b747;
$custom-light: #7dce7e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b747",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 71
  },
  "hsl": {
    "h": 129.851,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68523,
    "c": 0.19043,
    "h": 145.6
  },
  "luminance": 0.34975
}

Semantic roles & 50–950 ramp

primary
#31B747
secondary
#C87CBB
accent
#47C8E1
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31B747

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

Preview Lab → · Contrast checker → · Palette generator →

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