#31B52F#31B52F

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

Color values

HEX#31B52F
RGBrgb(49, 181, 47)
HSLhsl(119, 59%, 45%)
HSVhsv(119, 74%, 71%)
CMYKcmyk(72.9%, 0%, 74%, 29%)
CIE-LABlab(64.89, -59.92, 54.77)
CIE-LCHlch(64.89, 81.17, 137.57°)
OKLaboklab(67.76% -0.1627 0.1238)
OKLCHoklch(67.76% 0.205 142.7)
XYZxyz(18.3025, 33.9039, 8.2683)
Luminance0.3391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B52F #B32FB5
analogous
#74B52F #31B52F #2FB570
triadic
#31B52F #2F31B5 #B52F31
tetradic
#31B52F #2F74B5 #B32FB5 #B5702F
square
#31B52F #2F74B5 #B32FB5 #B5702F
split-complementary
#31B52F #702FB5 #B52F74
monochromatic
#175416 #248422 #31B52F #52D150 #82DE80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B52F#FFFFFF#000000##000000
##31B52F1.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)
#B9A415
Deuteranopia (green-blind)
#AA993D
Tritanopia (blue-blind)
#00B09B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b52f;
/* rgb */ color: rgb(49, 181, 47);
/* oklch */ color: oklch(67.8% 0.204 142.7);
Tailwind
colors: {
  custom: {
    50: '#7ecc70',
    500: '#31b52f',
    950: '#000000',
  },
}
SCSS
$custom: #31b52f;
$custom-light: #7ecc70;
$custom-dark: #000000;
JSON
{
  "hex": "#31b52f",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 119.104,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67762,
    "c": 0.2045,
    "h": 142.7
  },
  "luminance": 0.33906
}

Semantic roles & 50–950 ramp

primary
#31B52F
secondary
#C679C7
accent
#46E2E0
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0B1408
muted
#7C827B

Preview Lab

Preview with #31B52F

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

Preview Lab → · Contrast checker → · Palette generator →

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