#31BB2D#31BB2D

#31BB2D is a light, highly saturated green. Relative luminance 0.364; OKLCH L 69.4% C 0.212 H 142.6°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#31BB2D
RGBrgb(49, 187, 45)
HSLhsl(118, 61%, 45%)
HSVhsv(118, 76%, 73%)
CMYKcmyk(73.8%, 0%, 75.9%, 26.7%)
CIE-LABlab(66.81, -62.00, 57.38)
CIE-LCHlch(66.81, 84.47, 137.22°)
OKLaboklab(69.36% -0.1685 0.129)
OKLCHoklch(69.36% 0.212 142.6)
XYZxyz(19.5094, 36.3809, 8.4761)
Luminance0.3638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BB2D #B72DBB
analogous
#78BB2D #31BB2D #2DBB70
triadic
#31BB2D #2D31BB #BB2D31
tetradic
#31BB2D #2D78BB #B72DBB #BB702D
square
#31BB2D #2D78BB #B72DBB #BB702D
split-complementary
#31BB2D #702DBB #BB2D78
monochromatic
#175815 #248A21 #31BB2D #54D550 #84E182

Accessibility & contrast

On white

2.54
#31BB2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#31BB2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BB2D
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BB2D#FFFFFF#000000##000000
##31BB2D1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA90C
Deuteranopia (green-blind)
#B09E3D
Tritanopia (blue-blind)
#00B5A0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31bb2d;
/* rgb */ color: rgb(49, 187, 45);
/* oklch */ color: oklch(69.4% 0.212 142.6);
Tailwind
colors: {
  custom: {
    50: '#7fd170',
    500: '#31bb2d',
    950: '#000000',
  },
}
SCSS
$custom: #31bb2d;
$custom-light: #7fd170;
$custom-dark: #000000;
JSON
{
  "hex": "#31bb2d",
  "rgb": {
    "r": 49,
    "g": 187,
    "b": 45
  },
  "hsl": {
    "h": 118.31,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69356,
    "c": 0.2122,
    "h": 142.6
  },
  "luminance": 0.36383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31BB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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