#31B45B#31B45B

#31B45B is a light, vivid green. Relative luminance 0.341; OKLCH L 68.0% C 0.170 H 149.6°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#31B45B
RGBrgb(49, 180, 91)
HSLhsl(139, 57%, 45%)
HSVhsv(139, 73%, 71%)
CMYKcmyk(72.8%, 0%, 49.4%, 29.4%)
CIE-LABlab(65.00, -54.38, 35.36)
CIE-LCHlch(65.00, 64.86, 146.96°)
OKLaboklab(68% -0.1463 0.086)
OKLCHoklch(68% 0.17 149.6)
XYZxyz(19.4746, 34.0486, 15.4412)
Luminance0.3405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B45B #B4318A
analogous
#48B431 #31B45B #31B49D
triadic
#31B45B #5B31B4 #B45B31
tetradic
#31B45B #3148B4 #B4318A #B49D31
square
#31B45B #3148B4 #B4318A #B49D31
split-complementary
#31B45B #9D31B4 #B43148
monochromatic
#17542A #248443 #31B45B #52D07B #82DD9F

Accessibility & contrast

On white

2.69
#31B45B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#31B45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B45B
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B45B#FFFFFF#000000##000000
##31B45B1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A454
Deuteranopia (green-blind)
#A69961
Tritanopia (blue-blind)
#00B19F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b45b;
/* rgb */ color: rgb(49, 180, 91);
/* oklch */ color: oklch(68.0% 0.170 149.6);
Tailwind
colors: {
  custom: {
    50: '#7ccc8b',
    500: '#31b45b',
    950: '#000000',
  },
}
SCSS
$custom: #31b45b;
$custom-light: #7ccc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#31b45b",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 91
  },
  "hsl": {
    "h": 139.237,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67999,
    "c": 0.16968,
    "h": 149.6
  },
  "luminance": 0.34051
}

Semantic roles & 50–950 ramp

primary
#31B45B
secondary
#C67BAE
accent
#47AFE0
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B45B

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

Preview Lab → · Contrast checker → · Palette generator →

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