#31B95C#31B95C

#31B95C is a light, vivid green. Relative luminance 0.361; OKLCH L 69.3% C 0.175 H 149.3°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#31B95C
RGBrgb(49, 185, 92)
HSLhsl(139, 58%, 46%)
HSVhsv(139, 74%, 73%)
CMYKcmyk(73.5%, 0%, 50.3%, 27.5%)
CIE-LABlab(66.61, -56.01, 36.87)
CIE-LCHlch(66.61, 67.06, 146.65°)
OKLaboklab(69.34% -0.1506 0.0894)
OKLCHoklch(69.34% 0.175 149.3)
XYZxyz(20.5457, 36.1212, 16.0124)
Luminance0.3612 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B95C #B9318E
analogous
#4AB931 #31B95C #31B9A0
triadic
#31B95C #5C31B9 #B95C31
tetradic
#31B95C #314AB9 #B9318E #B9A031
square
#31B95C #314AB9 #B9318E #B9A031
split-complementary
#31B95C #A031B9 #B9314A
monochromatic
#17582C #248944 #31B95C #55D27D #86DFA2

Accessibility & contrast

On white

2.55
#31B95C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#31B95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B95C
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B95C#FFFFFF#000000##000000
##31B95C1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA954
Deuteranopia (green-blind)
#AA9E63
Tritanopia (blue-blind)
#00B6A3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b95c;
/* rgb */ color: rgb(49, 185, 92);
/* oklch */ color: oklch(69.3% 0.175 149.3);
Tailwind
colors: {
  custom: {
    50: '#7dcf8c',
    500: '#31b95c',
    950: '#000000',
  },
}
SCSS
$custom: #31b95c;
$custom-light: #7dcf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#31b95c",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 92
  },
  "hsl": {
    "h": 138.971,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69335,
    "c": 0.17518,
    "h": 149.3
  },
  "luminance": 0.36124
}

Semantic roles & 50–950 ramp

primary
#31B95C
secondary
#C87DB1
accent
#46B0E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31B95C

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

Preview Lab → · Contrast checker → · Palette generator →

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