#31B447#31B447

#31B447 is a light, vivid green. Relative luminance 0.338; OKLCH L 67.7% C 0.187 H 145.7°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#31B447
RGBrgb(49, 180, 71)
HSLhsl(130, 57%, 45%)
HSVhsv(130, 73%, 71%)
CMYKcmyk(72.8%, 0%, 60.6%, 29.4%)
CIE-LABlab(64.76, -57.18, 44.74)
CIE-LCHlch(64.76, 72.61, 141.96°)
OKLaboklab(67.72% -0.1543 0.1053)
OKLCHoklch(67.72% 0.187 145.7)
XYZxyz(18.7239, 33.7483, 11.4873)
Luminance0.3375 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B447 #B4319E
analogous
#5DB431 #31B447 #31B488
triadic
#31B447 #4731B4 #B44731
tetradic
#31B447 #315DB4 #B4319E #B48831
square
#31B447 #315DB4 #B4319E #B48831
split-complementary
#31B447 #8831B4 #B4315D
monochromatic
#175421 #248434 #31B447 #52D067 #82DD92

Accessibility & contrast

On white

2.71
#31B447 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#31B447 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B447
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B447#FFFFFF#000000##000000
##31B4471.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A33B
Deuteranopia (green-blind)
#A89950
Tritanopia (blue-blind)
#00B09D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b447;
/* rgb */ color: rgb(49, 180, 71);
/* oklch */ color: oklch(67.7% 0.187 145.7);
Tailwind
colors: {
  custom: {
    50: '#7dcc7e',
    500: '#31b447',
    950: '#000000',
  },
}
SCSS
$custom: #31b447;
$custom-light: #7dcc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b447",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 71
  },
  "hsl": {
    "h": 130.076,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67723,
    "c": 0.1868,
    "h": 145.7
  },
  "luminance": 0.3375
}

Semantic roles & 50–950 ramp

primary
#31B447
secondary
#C67BBA
accent
#47C7E0
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B447

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

Preview Lab → · Contrast checker → · Palette generator →

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