#31B472#31B472

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

Color values

HEX#31B472
RGBrgb(49, 180, 114)
HSLhsl(150, 57%, 45%)
HSVhsv(150, 73%, 71%)
CMYKcmyk(72.8%, 0%, 36.7%, 29.4%)
CIE-LABlab(65.36, -50.25, 23.84)
CIE-LCHlch(65.36, 55.62, 154.62°)
OKLaboklab(68.42% -0.1359 0.0598)
OKLCHoklch(68.42% 0.148 156.3)
XYZxyz(20.6232, 34.5080, 21.4901)
Luminance0.3451 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B472 #B43173
analogous
#32B431 #31B472 #31B4B3
triadic
#31B472 #7231B4 #B47231
tetradic
#31B472 #3132B4 #B43173 #B4B331
square
#31B472 #3132B4 #B43173 #B4B331
split-complementary
#31B472 #B331B4 #B43132
monochromatic
#175435 #248454 #31B472 #52D091 #82DDAF

Accessibility & contrast

On white

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

On black

7.90
#31B472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B472
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B472#FFFFFF#000000##000000
##31B4721.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b472;
/* rgb */ color: rgb(49, 180, 114);
/* oklch */ color: oklch(68.4% 0.148 156.3);
Tailwind
colors: {
  custom: {
    50: '#7bcb9b',
    500: '#31b472',
    950: '#000000',
  },
}
SCSS
$custom: #31b472;
$custom-light: #7bcb9b;
$custom-dark: #000000;
JSON
{
  "hex": "#31b472",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 114
  },
  "hsl": {
    "h": 149.771,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68417,
    "c": 0.14847,
    "h": 156.3
  },
  "luminance": 0.3451
}

Semantic roles & 50–950 ramp

primary
#31B472
secondary
#C67BA1
accent
#4794E0
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #31B472

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

Preview Lab → · Contrast checker → · Palette generator →

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