#31B45C#31B45C

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

Color values

HEX#31B45C
RGBrgb(49, 180, 92)
HSLhsl(140, 57%, 45%)
HSVhsv(140, 73%, 71%)
CMYKcmyk(72.8%, 0%, 48.9%, 29.4%)
CIE-LABlab(65.01, -54.22, 34.87)
CIE-LCHlch(65.01, 64.46, 147.25°)
OKLaboklab(68.02% -0.1459 0.0849)
OKLCHoklch(68.02% 0.169 149.8)
XYZxyz(19.5181, 34.0660, 15.6699)
Luminance0.3407 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B45C #B43189
analogous
#47B431 #31B45C #31B49E
triadic
#31B45C #5C31B4 #B45C31
tetradic
#31B45C #3147B4 #B43189 #B49E31
square
#31B45C #3147B4 #B43189 #B49E31
split-complementary
#31B45C #9E31B4 #B43147
monochromatic
#17542B #248443 #31B45C #52D07C #82DDA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B45C#FFFFFF#000000##000000
##31B45C1.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)
#B5A455
Deuteranopia (green-blind)
#A69962
Tritanopia (blue-blind)
#00B19F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b45c;
/* rgb */ color: rgb(49, 180, 92);
/* oklch */ color: oklch(68.0% 0.169 149.8);
Tailwind
colors: {
  custom: {
    50: '#7ccc8c',
    500: '#31b45c',
    950: '#000000',
  },
}
SCSS
$custom: #31b45c;
$custom-light: #7ccc8c;
$custom-dark: #000000;
JSON
{
  "hex": "#31b45c",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 92
  },
  "hsl": {
    "h": 139.695,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68015,
    "c": 0.16877,
    "h": 149.8
  },
  "luminance": 0.34068
}

Semantic roles & 50–950 ramp

primary
#31B45C
secondary
#C67BAD
accent
#47AEE0
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B45C

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

Preview Lab → · Contrast checker → · Palette generator →

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