#31B13C#31B13C

#31B13C is a light, vivid green. Relative luminance 0.324; OKLCH L 66.8% C 0.192 H 144.2°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#31B13C
RGBrgb(49, 177, 60)
HSLhsl(125, 57%, 44%)
HSVhsv(125, 72%, 69%)
CMYKcmyk(72.3%, 0%, 66.1%, 30.6%)
CIE-LABlab(63.69, -57.41, 48.40)
CIE-LCHlch(63.69, 75.09, 139.87°)
OKLaboklab(66.8% -0.1553 0.112)
OKLCHoklch(66.8% 0.192 144.2)
XYZxyz(17.8032, 32.4215, 9.5938)
Luminance0.3242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B13C #B131A6
analogous
#66B131 #31B13C #31B17C
triadic
#31B13C #3C31B1 #B13C31
tetradic
#31B13C #3166B1 #B131A6 #B17C31
square
#31B13C #3166B1 #B131A6 #B17C31
split-complementary
#31B13C #7C31B1 #B13166
monochromatic
#16511C #24812C #31B13C #51CF5B #80DC88

Accessibility & contrast

On white

2.81
#31B13C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#31B13C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B13C
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B13C#FFFFFF#000000##000000
##31B13C1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A02D
Deuteranopia (green-blind)
#A69647
Tritanopia (blue-blind)
#00AC99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b13c;
/* rgb */ color: rgb(49, 177, 60);
/* oklch */ color: oklch(66.8% 0.192 144.2);
Tailwind
colors: {
  custom: {
    50: '#7cc977',
    500: '#31b13c',
    950: '#000000',
  },
}
SCSS
$custom: #31b13c;
$custom-light: #7cc977;
$custom-dark: #000000;
JSON
{
  "hex": "#31b13c",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 60
  },
  "hsl": {
    "h": 125.156,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66801,
    "c": 0.19153,
    "h": 144.2
  },
  "luminance": 0.32423
}

Semantic roles & 50–950 ramp

primary
#31B13C
secondary
#C579BE
accent
#48D3E0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B13C

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

Preview Lab → · Contrast checker → · Palette generator →

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