#31B52E#31B52E

#31B52E is a light, highly saturated green. Relative luminance 0.339; OKLCH L 67.8% C 0.205 H 142.6°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#31B52E
RGBrgb(49, 181, 46)
HSLhsl(119, 59%, 45%)
HSVhsv(119, 75%, 71%)
CMYKcmyk(72.9%, 0%, 74.6%, 29%)
CIE-LABlab(64.88, -59.99, 55.11)
CIE-LCHlch(64.88, 81.47, 137.43°)
OKLaboklab(67.76% -0.163 0.1244)
OKLCHoklch(67.76% 0.205 142.6)
XYZxyz(18.2825, 33.8959, 8.1633)
Luminance0.3390 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B52E #B22EB5
analogous
#74B52E #31B52E #2EB56F
triadic
#31B52E #2E31B5 #B52E31
tetradic
#31B52E #2E74B5 #B22EB5 #B56F2E
square
#31B52E #2E74B5 #B22EB5 #B56F2E
split-complementary
#31B52E #6F2EB5 #B52E74
monochromatic
#175315 #248422 #31B52E #51D24E #81DE7F

Accessibility & contrast

On white

2.70
#31B52E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#31B52E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B52E
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B52E#FFFFFF#000000##000000
##31B52E1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A413
Deuteranopia (green-blind)
#AA993D
Tritanopia (blue-blind)
#00B09B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b52e;
/* rgb */ color: rgb(49, 181, 46);
/* oklch */ color: oklch(67.8% 0.205 142.6);
Tailwind
colors: {
  custom: {
    50: '#7ecc70',
    500: '#31b52e',
    950: '#000000',
  },
}
SCSS
$custom: #31b52e;
$custom-light: #7ecc70;
$custom-dark: #000000;
JSON
{
  "hex": "#31b52e",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 46
  },
  "hsl": {
    "h": 118.667,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67755,
    "c": 0.20507,
    "h": 142.6
  },
  "luminance": 0.33898
}

Semantic roles & 50–950 ramp

primary
#31B52E
secondary
#C578C7
accent
#45E3DF
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0B1408
muted
#7C827B

Preview Lab

Preview with #31B52E

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

Preview Lab → · Contrast checker → · Palette generator →

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