#31B640#31B640

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

Color values

HEX#31B640
RGBrgb(49, 182, 64)
HSLhsl(127, 58%, 45%)
HSVhsv(127, 73%, 71%)
CMYKcmyk(73.1%, 0%, 64.8%, 28.6%)
CIE-LABlab(65.34, -58.66, 48.50)
CIE-LCHlch(65.34, 76.12, 140.42°)
OKLaboklab(68.18% -0.1586 0.1127)
OKLCHoklch(68.18% 0.195 144.6)
XYZxyz(18.9187, 34.4769, 10.5071)
Luminance0.3448 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B640 #B631A7
analogous
#64B631 #31B640 #31B682
triadic
#31B640 #4031B6 #B64031
tetradic
#31B640 #3164B6 #B631A7 #B68231
square
#31B640 #3164B6 #B631A7 #B68231
split-complementary
#31B640 #8231B6 #B63164
monochromatic
#17561E #24862F #31B640 #53D162 #84DE8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B640#FFFFFF#000000##000000
##31B6401.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)
#B9A532
Deuteranopia (green-blind)
#AA9B4A
Tritanopia (blue-blind)
#00B19D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b640;
/* rgb */ color: rgb(49, 182, 64);
/* oklch */ color: oklch(68.2% 0.195 144.6);
Tailwind
colors: {
  custom: {
    50: '#7dcd7a',
    500: '#31b640',
    950: '#000000',
  },
}
SCSS
$custom: #31b640;
$custom-light: #7dcd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#31b640",
  "rgb": {
    "r": 49,
    "g": 182,
    "b": 64
  },
  "hsl": {
    "h": 126.767,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.6818,
    "c": 0.19453,
    "h": 144.6
  },
  "luminance": 0.34479
}

Semantic roles & 50–950 ramp

primary
#31B640
secondary
#C77CBF
accent
#47CFE1
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #31B640

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

Preview Lab → · Contrast checker → · Palette generator →

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