#31BF2B#31BF2B

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

Color values

HEX#31BF2B
RGBrgb(49, 191, 43)
HSLhsl(118, 63%, 46%)
HSVhsv(118, 77%, 75%)
CMYKcmyk(74.3%, 0%, 77.5%, 25.1%)
CIE-LABlab(68.08, -63.40, 59.28)
CIE-LCHlch(68.08, 86.80, 136.92°)
OKLaboklab(70.41% -0.1724 0.1327)
OKLCHoklch(70.41% 0.218 142.4)
XYZxyz(20.3322, 38.0867, 8.5649)
Luminance0.3809 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BF2B #B92BBF
analogous
#7BBF2B #31BF2B #2BBF6F
triadic
#31BF2B #2B31BF #BF2B31
tetradic
#31BF2B #2B7BBF #B92BBF #BF6F2B
square
#31BF2B #2B7BBF #B92BBF #BF6F2B
split-complementary
#31BF2B #6F2BBF #BF2B7B
monochromatic
#175B15 #248D20 #31BF2B #55D850 #86E382

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31BF2B#FFFFFF#000000##000000
##31BF2B1.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)
#C3AD01
Deuteranopia (green-blind)
#B4A23C
Tritanopia (blue-blind)
#00B9A3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #31bf2b;
/* rgb */ color: rgb(49, 191, 43);
/* oklch */ color: oklch(70.4% 0.218 142.4);
Tailwind
colors: {
  custom: {
    50: '#80d470',
    500: '#31bf2b',
    950: '#000000',
  },
}
SCSS
$custom: #31bf2b;
$custom-light: #80d470;
$custom-dark: #000000;
JSON
{
  "hex": "#31bf2b",
  "rgb": {
    "r": 49,
    "g": 191,
    "b": 43
  },
  "hsl": {
    "h": 117.568,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70411,
    "c": 0.21753,
    "h": 142.4
  },
  "luminance": 0.38089
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31BF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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