#31B641#31B641

#31B641 is a light, vivid green. Relative luminance 0.345; OKLCH L 68.2% C 0.194 H 144.7°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#31B641
RGBrgb(49, 182, 65)
HSLhsl(127, 58%, 45%)
HSVhsv(127, 73%, 71%)
CMYKcmyk(73.1%, 0%, 64.3%, 28.6%)
CIE-LABlab(65.35, -58.56, 48.08)
CIE-LCHlch(65.35, 75.77, 140.61°)
OKLaboklab(68.19% -0.1582 0.1119)
OKLCHoklch(68.19% 0.194 144.7)
XYZxyz(18.9474, 34.4884, 10.6584)
Luminance0.3449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B641 #B631A6
analogous
#63B631 #31B641 #31B683
triadic
#31B641 #4131B6 #B64131
tetradic
#31B641 #3163B6 #B631A6 #B68331
square
#31B641 #3163B6 #B631A6 #B68331
split-complementary
#31B641 #8331B6 #B63163
monochromatic
#17561F #248630 #31B641 #53D162 #84DE8E

Accessibility & contrast

On white

2.66
#31B641 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#31B641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B641
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B641#FFFFFF#000000##000000
##31B6411.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A533
Deuteranopia (green-blind)
#AA9B4B
Tritanopia (blue-blind)
#00B19E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b641;
/* rgb */ color: rgb(49, 182, 65);
/* oklch */ color: oklch(68.2% 0.194 144.7);
Tailwind
colors: {
  custom: {
    50: '#7dcd7a',
    500: '#31b641',
    950: '#000000',
  },
}
SCSS
$custom: #31b641;
$custom-light: #7dcd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#31b641",
  "rgb": {
    "r": 49,
    "g": 182,
    "b": 65
  },
  "hsl": {
    "h": 127.218,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68191,
    "c": 0.19379,
    "h": 144.7
  },
  "luminance": 0.34491
}

Semantic roles & 50–950 ramp

primary
#31B641
secondary
#C77CBE
accent
#47CEE1
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #31B641

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

Preview Lab → · Contrast checker → · Palette generator →

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