#31BB45#31BB45

#31BB45 is a light, vivid green. Relative luminance 0.366; OKLCH L 69.6% C 0.197 H 145.1°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#31BB45
RGBrgb(49, 187, 69)
HSLhsl(129, 58%, 46%)
HSVhsv(129, 74%, 73%)
CMYKcmyk(73.8%, 0%, 63.1%, 26.7%)
CIE-LABlab(66.99, -59.78, 48.17)
CIE-LCHlch(66.99, 76.78, 141.14°)
OKLaboklab(69.57% -0.1614 0.1125)
OKLCHoklch(69.57% 0.197 145.1)
XYZxyz(20.1097, 36.6210, 11.6378)
Luminance0.3662 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BB45 #BB31A7
analogous
#62BB31 #31BB45 #31BB8A
triadic
#31BB45 #4531BB #BB4531
tetradic
#31BB45 #3162BB #BB31A7 #BB8A31
square
#31BB45 #3162BB #BB31A7 #BB8A31
split-complementary
#31BB45 #8A31BB #BB3162
monochromatic
#185A21 #248B33 #31BB45 #56D368 #87E094

Accessibility & contrast

On white

2.52
#31BB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#31BB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BB45
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BB45#FFFFFF#000000##000000
##31BB451.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA37
Deuteranopia (green-blind)
#AE9F4F
Tritanopia (blue-blind)
#00B6A2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31bb45;
/* rgb */ color: rgb(49, 187, 69);
/* oklch */ color: oklch(69.6% 0.197 145.1);
Tailwind
colors: {
  custom: {
    50: '#7ed17d',
    500: '#31bb45',
    950: '#000000',
  },
}
SCSS
$custom: #31bb45;
$custom-light: #7ed17d;
$custom-dark: #000000;
JSON
{
  "hex": "#31bb45",
  "rgb": {
    "r": 49,
    "g": 187,
    "b": 69
  },
  "hsl": {
    "h": 128.696,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.69565,
    "c": 0.19673,
    "h": 145.1
  },
  "luminance": 0.36623
}

Semantic roles & 50–950 ramp

primary
#31BB45
secondary
#C97FBE
accent
#46CBE2
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31BB45

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

Preview Lab → · Contrast checker → · Palette generator →

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