#31BF2C#31BF2C

#31BF2C is a light, highly saturated green. Relative luminance 0.381; OKLCH L 70.4% C 0.217 H 142.5°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#31BF2C
RGBrgb(49, 191, 44)
HSLhsl(118, 63%, 46%)
HSVhsv(118, 77%, 75%)
CMYKcmyk(74.3%, 0%, 77%, 25.1%)
CIE-LABlab(68.09, -63.33, 58.96)
CIE-LCHlch(68.09, 86.53, 137.05°)
OKLaboklab(70.42% -0.1721 0.1322)
OKLCHoklch(70.42% 0.217 142.5)
XYZxyz(20.3508, 38.0941, 8.6627)
Luminance0.3810 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BF2C #BA2CBF
analogous
#7ABF2C #31BF2C #2CBF70
triadic
#31BF2C #2C31BF #BF2C31
tetradic
#31BF2C #2C7ABF #BA2CBF #BF702C
square
#31BF2C #2C7ABF #BA2CBF #BF702C
split-complementary
#31BF2C #702CBF #BF2C7A
monochromatic
#175C15 #248D21 #31BF2C #56D751 #86E283

Accessibility & contrast

On white

2.44
#31BF2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#31BF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BF2C
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BF2C#FFFFFF#000000##000000
##31BF2C1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD04
Deuteranopia (green-blind)
#B4A23D
Tritanopia (blue-blind)
#00B9A3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #31bf2c;
/* rgb */ color: rgb(49, 191, 44);
/* oklch */ color: oklch(70.4% 0.217 142.5);
Tailwind
colors: {
  custom: {
    50: '#80d470',
    500: '#31bf2c',
    950: '#000000',
  },
}
SCSS
$custom: #31bf2c;
$custom-light: #80d470;
$custom-dark: #000000;
JSON
{
  "hex": "#31bf2c",
  "rgb": {
    "r": 49,
    "g": 191,
    "b": 44
  },
  "hsl": {
    "h": 117.959,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70418,
    "c": 0.21703,
    "h": 142.5
  },
  "luminance": 0.38096
}

Semantic roles & 50–950 ramp

primary
#31BF2C
secondary
#C97BCC
accent
#42E6E0
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1408
muted
#7D837B

Preview Lab

Preview with #31BF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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