#31B42E#31B42E

#31B42E is a light, highly saturated green. Relative luminance 0.335; OKLCH L 67.5% C 0.204 H 142.6°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#31B42E
RGBrgb(49, 180, 46)
HSLhsl(119, 59%, 44%)
HSVhsv(119, 74%, 71%)
CMYKcmyk(72.8%, 0%, 74.4%, 29.4%)
CIE-LABlab(64.56, -59.67, 54.79)
CIE-LCHlch(64.56, 81.01, 137.44°)
OKLaboklab(67.49% -0.1621 0.1238)
OKLCHoklch(67.49% 0.204 142.6)
XYZxyz(18.0799, 33.4907, 8.0958)
Luminance0.3349 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B42E #B12EB4
analogous
#74B42E #31B42E #2EB46E
triadic
#31B42E #2E31B4 #B42E31
tetradic
#31B42E #2E74B4 #B12EB4 #B46E2E
square
#31B42E #2E74B4 #B12EB4 #B46E2E
split-complementary
#31B42E #6E2EB4 #B42E74
monochromatic
#165315 #248322 #31B42E #51D24E #80DE7E

Accessibility & contrast

On white

2.73
#31B42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#31B42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B42E
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B42E#FFFFFF#000000##000000
##31B42E1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A313
Deuteranopia (green-blind)
#A9993C
Tritanopia (blue-blind)
#00AF9A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b42e;
/* rgb */ color: rgb(49, 180, 46);
/* oklch */ color: oklch(67.5% 0.204 142.6);
Tailwind
colors: {
  custom: {
    50: '#7ecc70',
    500: '#31b42e',
    950: '#000000',
  },
}
SCSS
$custom: #31b42e;
$custom-light: #7ecc70;
$custom-dark: #000000;
JSON
{
  "hex": "#31b42e",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 118.657,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67486,
    "c": 0.20396,
    "h": 142.6
  },
  "luminance": 0.33493
}

Semantic roles & 50–950 ramp

primary
#31B42E
secondary
#C577C7
accent
#45E2DF
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31B42E

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

Preview Lab → · Contrast checker → · Palette generator →

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