#31B241#31B241

#31B241 is a light, vivid green. Relative luminance 0.329; OKLCH L 67.1% C 0.189 H 144.9°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#31B241
RGBrgb(49, 178, 65)
HSLhsl(127, 57%, 45%)
HSVhsv(127, 72%, 70%)
CMYKcmyk(72.5%, 0%, 63.5%, 30.2%)
CIE-LABlab(64.06, -57.20, 46.64)
CIE-LCHlch(64.06, 73.81, 140.81°)
OKLaboklab(67.12% -0.1546 0.1088)
OKLCHoklch(67.12% 0.189 144.9)
XYZxyz(18.1399, 32.8734, 10.3892)
Luminance0.3287 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B241 #B231A2
analogous
#62B231 #31B241 #31B282
triadic
#31B241 #4131B2 #B24131
tetradic
#31B241 #3162B2 #B231A2 #B28231
square
#31B241 #3162B2 #B231A2 #B28231
split-complementary
#31B241 #8231B2 #B23162
monochromatic
#17521E #24822F #31B241 #51CF61 #81DC8C

Accessibility & contrast

On white

2.77
#31B241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#31B241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B241
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B241#FFFFFF#000000##000000
##31B2411.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A134
Deuteranopia (green-blind)
#A6974B
Tritanopia (blue-blind)
#00AD9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b241;
/* rgb */ color: rgb(49, 178, 65);
/* oklch */ color: oklch(67.1% 0.189 144.9);
Tailwind
colors: {
  custom: {
    50: '#7cca7a',
    500: '#31b241',
    950: '#000000',
  },
}
SCSS
$custom: #31b241;
$custom-light: #7cca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#31b241",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 65
  },
  "hsl": {
    "h": 127.442,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67121,
    "c": 0.18903,
    "h": 144.9
  },
  "luminance": 0.32875
}

Semantic roles & 50–950 ramp

primary
#31B241
secondary
#C579BC
accent
#48CDE0
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B241

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

Preview Lab → · Contrast checker → · Palette generator →

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