#31B754#31B754

#31B754 is a light, vivid green. Relative luminance 0.352; OKLCH L 68.7% C 0.180 H 147.8°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#31B754
RGBrgb(49, 183, 84)
HSLhsl(136, 58%, 45%)
HSVhsv(136, 73%, 72%)
CMYKcmyk(73.2%, 0%, 54.1%, 28.2%)
CIE-LABlab(65.87, -56.50, 39.90)
CIE-LCHlch(65.87, 69.17, 144.77°)
OKLaboklab(68.69% -0.1521 0.0957)
OKLCHoklch(68.69% 0.18 147.8)
XYZxyz(19.7988, 35.1578, 14.1285)
Luminance0.3516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B754 #B73194
analogous
#51B731 #31B754 #31B797
triadic
#31B754 #5431B7 #B75431
tetradic
#31B754 #3151B7 #B73194 #B79731
square
#31B754 #3151B7 #B73194 #B79731
split-complementary
#31B754 #9731B7 #B73151
monochromatic
#175628 #24873E #31B754 #54D175 #84DE9C

Accessibility & contrast

On white

2.61
#31B754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#31B754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B754
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B754#FFFFFF#000000##000000
##31B7541.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A74B
Deuteranopia (green-blind)
#A99C5C
Tritanopia (blue-blind)
#00B3A1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b754;
/* rgb */ color: rgb(49, 183, 84);
/* oklch */ color: oklch(68.7% 0.180 147.8);
Tailwind
colors: {
  custom: {
    50: '#7dce86',
    500: '#31b754',
    950: '#000000',
  },
}
SCSS
$custom: #31b754;
$custom-light: #7dce86;
$custom-dark: #000000;
JSON
{
  "hex": "#31b754",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 84
  },
  "hsl": {
    "h": 135.672,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68689,
    "c": 0.17969,
    "h": 147.8
  },
  "luminance": 0.3516
}

Semantic roles & 50–950 ramp

primary
#31B754
secondary
#C87CB4
accent
#47B9E1
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31B754

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

Preview Lab → · Contrast checker → · Palette generator →

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