#31BC2D#31BC2D

#31BC2D is a light, highly saturated green. Relative luminance 0.368; OKLCH L 69.6% C 0.213 H 142.6°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#31BC2D
RGBrgb(49, 188, 45)
HSLhsl(118, 61%, 46%)
HSVhsv(118, 76%, 74%)
CMYKcmyk(73.9%, 0%, 76.1%, 26.3%)
CIE-LABlab(67.13, -62.31, 57.70)
CIE-LCHlch(67.13, 84.92, 137.20°)
OKLaboklab(69.62% -0.1693 0.1297)
OKLCHoklch(69.62% 0.213 142.6)
XYZxyz(19.7223, 36.8066, 8.5471)
Luminance0.3681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BC2D #B82DBC
analogous
#78BC2D #31BC2D #2DBC71
triadic
#31BC2D #2D31BC #BC2D31
tetradic
#31BC2D #2D78BC #B82DBC #BC712D
square
#31BC2D #2D78BC #B82DBC #BC712D
split-complementary
#31BC2D #712DBC #BC2D78
monochromatic
#175915 #248B21 #31BC2D #55D551 #85E182

Accessibility & contrast

On white

2.51
#31BC2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#31BC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BC2D
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BC2D#FFFFFF#000000##000000
##31BC2D1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA0B
Deuteranopia (green-blind)
#B19F3D
Tritanopia (blue-blind)
#00B6A1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31bc2d;
/* rgb */ color: rgb(49, 188, 45);
/* oklch */ color: oklch(69.6% 0.213 142.6);
Tailwind
colors: {
  custom: {
    50: '#80d170',
    500: '#31bc2d',
    950: '#000000',
  },
}
SCSS
$custom: #31bc2d;
$custom-light: #80d170;
$custom-dark: #000000;
JSON
{
  "hex": "#31bc2d",
  "rgb": {
    "r": 49,
    "g": 188,
    "b": 45
  },
  "hsl": {
    "h": 118.322,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69623,
    "c": 0.21328,
    "h": 142.6
  },
  "luminance": 0.36809
}

Semantic roles & 50–950 ramp

primary
#31BC2D
secondary
#C87BCA
accent
#43E4E0
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1408
muted
#7D837B

Preview Lab

Preview with #31BC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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