#31B45A#31B45A

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

Color values

HEX#31B45A
RGBrgb(49, 180, 90)
HSLhsl(139, 57%, 45%)
HSVhsv(139, 73%, 71%)
CMYKcmyk(72.8%, 0%, 50%, 29.4%)
CIE-LABlab(64.99, -54.53, 35.85)
CIE-LCHlch(64.99, 65.26, 146.68°)
OKLaboklab(67.98% -0.1467 0.087)
OKLCHoklch(67.98% 0.171 149.3)
XYZxyz(19.4318, 34.0315, 15.2155)
Luminance0.3403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B45A #B4318B
analogous
#49B431 #31B45A #31B49C
triadic
#31B45A #5A31B4 #B45A31
tetradic
#31B45A #3149B4 #B4318B #B49C31
square
#31B45A #3149B4 #B4318B #B49C31
split-complementary
#31B45A #9C31B4 #B43149
monochromatic
#17542A #248442 #31B45A #52D07A #82DD9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B45A#FFFFFF#000000##000000
##31B45A1.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)
#B5A453
Deuteranopia (green-blind)
#A69961
Tritanopia (blue-blind)
#00B19F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b45a;
/* rgb */ color: rgb(49, 180, 90);
/* oklch */ color: oklch(68.0% 0.171 149.3);
Tailwind
colors: {
  custom: {
    50: '#7ccc8a',
    500: '#31b45a',
    950: '#000000',
  },
}
SCSS
$custom: #31b45a;
$custom-light: #7ccc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#31b45a",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 90
  },
  "hsl": {
    "h": 138.779,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67983,
    "c": 0.17057,
    "h": 149.3
  },
  "luminance": 0.34034
}

Semantic roles & 50–950 ramp

primary
#31B45A
secondary
#C67BAF
accent
#47B1E0
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B45A

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

Preview Lab → · Contrast checker → · Palette generator →

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