#31B45F#31B45F

#31B45F is a light, vivid green. Relative luminance 0.341; OKLCH L 68.1% C 0.166 H 150.5°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#31B45F
RGBrgb(49, 180, 95)
HSLhsl(141, 57%, 45%)
HSVhsv(141, 73%, 71%)
CMYKcmyk(72.8%, 0%, 47.2%, 29.4%)
CIE-LABlab(65.06, -53.73, 33.40)
CIE-LCHlch(65.06, 63.26, 148.13°)
OKLaboklab(68.06% -0.1446 0.0817)
OKLCHoklch(68.06% 0.166 150.5)
XYZxyz(19.6518, 34.1195, 16.3743)
Luminance0.3412 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B45F #B43186
analogous
#44B431 #31B45F #31B4A1
triadic
#31B45F #5F31B4 #B45F31
tetradic
#31B45F #3144B4 #B43186 #B4A131
square
#31B45F #3144B4 #B43186 #B4A131
split-complementary
#31B45F #A131B4 #B43144
monochromatic
#17542C #248446 #31B45F #52D07E #82DDA2

Accessibility & contrast

On white

2.68
#31B45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#31B45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B45F
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B45F#FFFFFF#000000##000000
##31B45F1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A458
Deuteranopia (green-blind)
#A59A65
Tritanopia (blue-blind)
#00B1A0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b45f;
/* rgb */ color: rgb(49, 180, 95);
/* oklch */ color: oklch(68.1% 0.166 150.5);
Tailwind
colors: {
  custom: {
    50: '#7ccb8e',
    500: '#31b45f',
    950: '#000000',
  },
}
SCSS
$custom: #31b45f;
$custom-light: #7ccb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b45f",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 95
  },
  "hsl": {
    "h": 141.069,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68063,
    "c": 0.16603,
    "h": 150.5
  },
  "luminance": 0.34122
}

Semantic roles & 50–950 ramp

primary
#31B45F
secondary
#C67BAC
accent
#47ABE0
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B45F

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

Preview Lab → · Contrast checker → · Palette generator →

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