#31B35C#31B35C

#31B35C is a light, vivid green. Relative luminance 0.337; OKLCH L 67.8% C 0.167 H 149.9°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#31B35C
RGBrgb(49, 179, 92)
HSLhsl(140, 57%, 45%)
HSVhsv(140, 73%, 70%)
CMYKcmyk(72.6%, 0%, 48.6%, 29.8%)
CIE-LABlab(64.69, -53.85, 34.47)
CIE-LCHlch(64.69, 63.94, 147.38°)
OKLaboklab(67.75% -0.1449 0.084)
OKLCHoklch(67.75% 0.167 149.9)
XYZxyz(19.3169, 33.6637, 15.6028)
Luminance0.3367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B35C #B33188
analogous
#47B331 #31B35C #31B39D
triadic
#31B35C #5C31B3 #B35C31
tetradic
#31B35C #3147B3 #B33188 #B39D31
square
#31B35C #3147B3 #B33188 #B39D31
split-complementary
#31B35C #9D31B3 #B33147
monochromatic
#17532B #248343 #31B35C #52D07B #82DDA0

Accessibility & contrast

On white

2.72
#31B35C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#31B35C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B35C
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B35C#FFFFFF#000000##000000
##31B35C1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A355
Deuteranopia (green-blind)
#A59962
Tritanopia (blue-blind)
#00B09F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b35c;
/* rgb */ color: rgb(49, 179, 92);
/* oklch */ color: oklch(67.8% 0.167 149.9);
Tailwind
colors: {
  custom: {
    50: '#7ccb8b',
    500: '#31b35c',
    950: '#000000',
  },
}
SCSS
$custom: #31b35c;
$custom-light: #7ccb8b;
$custom-dark: #000000;
JSON
{
  "hex": "#31b35c",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 92
  },
  "hsl": {
    "h": 139.846,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.6775,
    "c": 0.16747,
    "h": 149.9
  },
  "luminance": 0.33666
}

Semantic roles & 50–950 ramp

primary
#31B35C
secondary
#C67AAD
accent
#48AEE0
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B35C

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

Preview Lab → · Contrast checker → · Palette generator →

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