#31B645#31B645

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

Color values

HEX#31B645
RGBrgb(49, 182, 69)
HSLhsl(129, 58%, 45%)
HSVhsv(129, 73%, 71%)
CMYKcmyk(73.1%, 0%, 62.1%, 28.6%)
CIE-LABlab(65.39, -58.10, 46.36)
CIE-LCHlch(65.39, 74.33, 141.41°)
OKLaboklab(68.23% -0.1568 0.1086)
OKLCHoklch(68.23% 0.191 145.3)
XYZxyz(19.0674, 34.5364, 11.2904)
Luminance0.3454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B645 #B631A2
analogous
#5FB631 #31B645 #31B688
triadic
#31B645 #4531B6 #B64531
tetradic
#31B645 #315FB6 #B631A2 #B68831
square
#31B645 #315FB6 #B631A2 #B68831
split-complementary
#31B645 #8831B6 #B6315F
monochromatic
#175620 #248633 #31B645 #53D166 #84DE91

Accessibility & contrast

On white

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

On black

7.91
#31B645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B645
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B645#FFFFFF#000000##000000
##31B6451.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b645;
/* rgb */ color: rgb(49, 182, 69);
/* oklch */ color: oklch(68.2% 0.191 145.3);
Tailwind
colors: {
  custom: {
    50: '#7dcd7d',
    500: '#31b645',
    950: '#000000',
  },
}
SCSS
$custom: #31b645;
$custom-light: #7dcd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#31b645",
  "rgb": {
    "r": 49,
    "g": 182,
    "b": 69
  },
  "hsl": {
    "h": 129.023,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68234,
    "c": 0.19077,
    "h": 145.3
  },
  "luminance": 0.34539
}

Semantic roles & 50–950 ramp

primary
#31B645
secondary
#C77CBC
accent
#47CAE1
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31B645

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

Preview Lab → · Contrast checker → · Palette generator →

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