#31B65C#31B65C

#31B65C is a light, vivid green. Relative luminance 0.349; OKLCH L 68.5% C 0.171 H 149.6°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#31B65C
RGBrgb(49, 182, 92)
HSLhsl(139, 58%, 45%)
HSVhsv(139, 73%, 71%)
CMYKcmyk(73.1%, 0%, 49.5%, 28.6%)
CIE-LABlab(65.65, -54.94, 35.67)
CIE-LCHlch(65.65, 65.50, 147.00°)
OKLaboklab(68.54% -0.1478 0.0867)
OKLCHoklch(68.54% 0.171 149.6)
XYZxyz(19.9247, 34.8793, 15.8054)
Luminance0.3488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B65C #B6318B
analogous
#49B631 #31B65C #31B69E
triadic
#31B65C #5C31B6 #B65C31
tetradic
#31B65C #3149B6 #B6318B #B69E31
square
#31B65C #3149B6 #B6318B #B69E31
split-complementary
#31B65C #9E31B6 #B63149
monochromatic
#17562B #248644 #31B65C #53D17C #84DEA1

Accessibility & contrast

On white

2.63
#31B65C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#31B65C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B65C
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B65C#FFFFFF#000000##000000
##31B65C1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A655
Deuteranopia (green-blind)
#A89B62
Tritanopia (blue-blind)
#00B3A1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b65c;
/* rgb */ color: rgb(49, 182, 92);
/* oklch */ color: oklch(68.5% 0.171 149.6);
Tailwind
colors: {
  custom: {
    50: '#7ccd8c',
    500: '#31b65c',
    950: '#000000',
  },
}
SCSS
$custom: #31b65c;
$custom-light: #7ccd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#31b65c",
  "rgb": {
    "r": 49,
    "g": 182,
    "b": 92
  },
  "hsl": {
    "h": 139.398,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68543,
    "c": 0.17134,
    "h": 149.6
  },
  "luminance": 0.34882
}

Semantic roles & 50–950 ramp

primary
#31B65C
secondary
#C77CAF
accent
#47AFE1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31B65C

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

Preview Lab → · Contrast checker → · Palette generator →

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