#31B470#31B470

#31B470 is a light, vivid green. Relative luminance 0.345; OKLCH L 68.4% C 0.150 H 155.6°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#31B470
RGBrgb(49, 180, 112)
HSLhsl(149, 57%, 45%)
HSVhsv(149, 73%, 71%)
CMYKcmyk(72.8%, 0%, 37.8%, 29.4%)
CIE-LABlab(65.33, -50.65, 24.86)
CIE-LCHlch(65.33, 56.42, 153.86°)
OKLaboklab(68.38% -0.1368 0.0622)
OKLCHoklch(68.38% 0.15 155.6)
XYZxyz(20.5106, 34.4630, 20.8972)
Luminance0.3447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B470 #B43175
analogous
#34B431 #31B470 #31B4B1
triadic
#31B470 #7031B4 #B47031
tetradic
#31B470 #3134B4 #B43175 #B4B131
square
#31B470 #3134B4 #B43175 #B4B131
split-complementary
#31B470 #B131B4 #B43134
monochromatic
#175434 #248452 #31B470 #52D08F #82DDAE

Accessibility & contrast

On white

2.66
#31B470 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#31B470 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B470
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B470#FFFFFF#000000##000000
##31B4701.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A56B
Deuteranopia (green-blind)
#A39A74
Tritanopia (blue-blind)
#00B2A3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b470;
/* rgb */ color: rgb(49, 180, 112);
/* oklch */ color: oklch(68.4% 0.150 155.6);
Tailwind
colors: {
  custom: {
    50: '#7bcb99',
    500: '#31b470',
    950: '#000000',
  },
}
SCSS
$custom: #31b470;
$custom-light: #7bcb99;
$custom-dark: #000000;
JSON
{
  "hex": "#31b470",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 112
  },
  "hsl": {
    "h": 148.855,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68376,
    "c": 0.1503,
    "h": 155.6
  },
  "luminance": 0.34465
}

Semantic roles & 50–950 ramp

primary
#31B470
secondary
#C67BA2
accent
#4797E0
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B470

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

Preview Lab → · Contrast checker → · Palette generator →

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