#31B445#31B445

#31B445 is a light, vivid green. Relative luminance 0.337; OKLCH L 67.7% C 0.188 H 145.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#31B445
RGBrgb(49, 180, 69)
HSLhsl(129, 57%, 45%)
HSVhsv(129, 73%, 71%)
CMYKcmyk(72.8%, 0%, 61.7%, 29.4%)
CIE-LABlab(64.74, -57.42, 45.63)
CIE-LCHlch(64.74, 73.34, 141.53°)
OKLaboklab(67.7% -0.155 0.107)
OKLCHoklch(67.7% 0.188 145.4)
XYZxyz(18.6608, 33.7230, 11.1548)
Luminance0.3372 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B445 #B431A0
analogous
#5FB431 #31B445 #31B486
triadic
#31B445 #4531B4 #B44531
tetradic
#31B445 #315FB4 #B431A0 #B48631
square
#31B445 #315FB4 #B431A0 #B48631
split-complementary
#31B445 #8631B4 #B4315F
monochromatic
#175420 #248433 #31B445 #52D065 #82DD90

Accessibility & contrast

On white

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

On black

7.74
#31B445 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B445
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B445#FFFFFF#000000##000000
##31B4451.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A339
Deuteranopia (green-blind)
#A8994E
Tritanopia (blue-blind)
#00AF9C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b445;
/* rgb */ color: rgb(49, 180, 69);
/* oklch */ color: oklch(67.7% 0.188 145.4);
Tailwind
colors: {
  custom: {
    50: '#7dcc7d',
    500: '#31b445',
    950: '#000000',
  },
}
SCSS
$custom: #31b445;
$custom-light: #7dcc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#31b445",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 69
  },
  "hsl": {
    "h": 129.16,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.677,
    "c": 0.18836,
    "h": 145.4
  },
  "luminance": 0.33725
}

Semantic roles & 50–950 ramp

primary
#31B445
secondary
#C67BBB
accent
#47C9E0
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B445

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

Preview Lab → · Contrast checker → · Palette generator →

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