#31B448#31B448

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

Color values

HEX#31B448
RGBrgb(49, 180, 72)
HSLhsl(131, 57%, 45%)
HSVhsv(131, 73%, 71%)
CMYKcmyk(72.8%, 0%, 60%, 29.4%)
CIE-LABlab(64.77, -57.06, 44.29)
CIE-LCHlch(64.77, 72.23, 142.18°)
OKLaboklab(67.74% -0.1539 0.1044)
OKLCHoklch(67.74% 0.186 145.8)
XYZxyz(18.7563, 33.7612, 11.6577)
Luminance0.3376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B448 #B4319D
analogous
#5CB431 #31B448 #31B489
triadic
#31B448 #4831B4 #B44831
tetradic
#31B448 #315CB4 #B4319D #B48931
square
#31B448 #315CB4 #B4319D #B48931
split-complementary
#31B448 #8931B4 #B4315C
monochromatic
#175422 #248435 #31B448 #52D068 #82DD92

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B448#FFFFFF#000000##000000
##31B4481.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)
#B7A43D
Deuteranopia (green-blind)
#A89951
Tritanopia (blue-blind)
#00B09D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b448;
/* rgb */ color: rgb(49, 180, 72);
/* oklch */ color: oklch(67.7% 0.186 145.8);
Tailwind
colors: {
  custom: {
    50: '#7ccc7e',
    500: '#31b448',
    950: '#000000',
  },
}
SCSS
$custom: #31b448;
$custom-light: #7ccc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b448",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 72
  },
  "hsl": {
    "h": 130.534,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67735,
    "c": 0.18599,
    "h": 145.8
  },
  "luminance": 0.33763
}

Semantic roles & 50–950 ramp

primary
#31B448
secondary
#C67BB9
accent
#47C6E0
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B448

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

Preview Lab → · Contrast checker → · Palette generator →

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