#31B13B#31B13B

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

Color values

HEX#31B13B
RGBrgb(49, 177, 59)
HSLhsl(125, 57%, 44%)
HSVhsv(125, 72%, 69%)
CMYKcmyk(72.3%, 0%, 66.7%, 30.6%)
CIE-LABlab(63.68, -57.51, 48.81)
CIE-LCHlch(63.68, 75.43, 139.68°)
OKLaboklab(66.79% -0.1557 0.1128)
OKLCHoklch(66.79% 0.192 144.1)
XYZxyz(17.7770, 32.4110, 9.4559)
Luminance0.3241 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B13B #B131A7
analogous
#67B131 #31B13B #31B17B
triadic
#31B13B #3B31B1 #B13B31
tetradic
#31B13B #3167B1 #B131A7 #B17B31
square
#31B13B #3167B1 #B131A7 #B17B31
split-complementary
#31B13B #7B31B1 #B13167
monochromatic
#16511B #24812B #31B13B #51CF5A #80DC88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B13B#FFFFFF#000000##000000
##31B13B1.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)
#B4A02C
Deuteranopia (green-blind)
#A69646
Tritanopia (blue-blind)
#00AC99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b13b;
/* rgb */ color: rgb(49, 177, 59);
/* oklch */ color: oklch(66.8% 0.192 144.1);
Tailwind
colors: {
  custom: {
    50: '#7cc976',
    500: '#31b13b',
    950: '#000000',
  },
}
SCSS
$custom: #31b13b;
$custom-light: #7cc976;
$custom-dark: #000000;
JSON
{
  "hex": "#31b13b",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 59
  },
  "hsl": {
    "h": 124.688,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66791,
    "c": 0.19223,
    "h": 144.1
  },
  "luminance": 0.32413
}

Semantic roles & 50–950 ramp

primary
#31B13B
secondary
#C579BF
accent
#48D4E0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B13B

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

Preview Lab → · Contrast checker → · Palette generator →

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