#31B23E#31B23E

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

Color values

HEX#31B23E
RGBrgb(49, 178, 62)
HSLhsl(126, 57%, 45%)
HSVhsv(126, 72%, 70%)
CMYKcmyk(72.5%, 0%, 65.2%, 30.2%)
CIE-LABlab(64.03, -57.53, 47.92)
CIE-LCHlch(64.03, 74.88, 140.21°)
OKLaboklab(67.09% -0.1556 0.1112)
OKLCHoklch(67.09% 0.191 144.4)
XYZxyz(18.0553, 32.8395, 9.9436)
Luminance0.3284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B23E #B231A5
analogous
#64B231 #31B23E #31B27F
triadic
#31B23E #3E31B2 #B23E31
tetradic
#31B23E #3164B2 #B231A5 #B27F31
square
#31B23E #3164B2 #B231A5 #B27F31
split-complementary
#31B23E #7F31B2 #B23164
monochromatic
#17521D #24822D #31B23E #51CF5E #81DC8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B23E#FFFFFF#000000##000000
##31B23E1.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)
#B5A130
Deuteranopia (green-blind)
#A69748
Tritanopia (blue-blind)
#00AD9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b23e;
/* rgb */ color: rgb(49, 178, 62);
/* oklch */ color: oklch(67.1% 0.191 144.4);
Tailwind
colors: {
  custom: {
    50: '#7cca78',
    500: '#31b23e',
    950: '#000000',
  },
}
SCSS
$custom: #31b23e;
$custom-light: #7cca78;
$custom-dark: #000000;
JSON
{
  "hex": "#31b23e",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 62
  },
  "hsl": {
    "h": 126.047,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67089,
    "c": 0.19126,
    "h": 144.4
  },
  "luminance": 0.32842
}

Semantic roles & 50–950 ramp

primary
#31B23E
secondary
#C579BE
accent
#48D1E0
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B23E

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

Preview Lab → · Contrast checker → · Palette generator →

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