#31BB2E#31BB2E

#31BB2E 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#31BB2E
RGBrgb(49, 187, 46)
HSLhsl(119, 61%, 46%)
HSVhsv(119, 75%, 73%)
CMYKcmyk(73.8%, 0%, 75.4%, 26.7%)
CIE-LABlab(66.82, -61.92, 57.05)
CIE-LCHlch(66.82, 84.19, 137.35°)
OKLaboklab(69.36% -0.1682 0.1285)
OKLCHoklch(69.36% 0.212 142.6)
XYZxyz(19.5289, 36.3887, 8.5787)
Luminance0.3639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BB2E #B82EBB
analogous
#78BB2E #31BB2E #2EBB71
triadic
#31BB2E #2E31BB #BB2E31
tetradic
#31BB2E #2E78BB #B82EBB #BB712E
square
#31BB2E #2E78BB #B82EBB #BB712E
split-complementary
#31BB2E #712EBB #BB2E78
monochromatic
#175916 #248A22 #31BB2E #55D452 #85E083

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31BB2E#FFFFFF#000000##000000
##31BB2E1.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)
#BFA90F
Deuteranopia (green-blind)
#B09E3E
Tritanopia (blue-blind)
#00B5A0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31bb2e;
/* rgb */ color: rgb(49, 187, 46);
/* oklch */ color: oklch(69.4% 0.212 142.6);
Tailwind
colors: {
  custom: {
    50: '#7fd170',
    500: '#31bb2e',
    950: '#000000',
  },
}
SCSS
$custom: #31bb2e;
$custom-light: #7fd170;
$custom-dark: #000000;
JSON
{
  "hex": "#31bb2e",
  "rgb": {
    "r": 49,
    "g": 187,
    "b": 46
  },
  "hsl": {
    "h": 118.723,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69363,
    "c": 0.21167,
    "h": 142.6
  },
  "luminance": 0.36391
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31BB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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