#31B33E#31B33E

#31B33E is a light, vivid green. Relative luminance 0.332; OKLCH L 67.4% C 0.192 H 144.4°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#31B33E
RGBrgb(49, 179, 62)
HSLhsl(126, 57%, 45%)
HSVhsv(126, 73%, 70%)
CMYKcmyk(72.6%, 0%, 65.4%, 29.8%)
CIE-LABlab(64.35, -57.87, 48.28)
CIE-LCHlch(64.35, 75.36, 140.17°)
OKLaboklab(67.36% -0.1565 0.112)
OKLCHoklch(67.36% 0.192 144.4)
XYZxyz(18.2550, 33.2389, 10.0102)
Luminance0.3324 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B33E #B331A6
analogous
#65B331 #31B33E #31B37F
triadic
#31B33E #3E31B3 #B33E31
tetradic
#31B33E #3165B3 #B331A6 #B37F31
square
#31B33E #3165B3 #B331A6 #B37F31
split-complementary
#31B33E #7F31B3 #B33165
monochromatic
#17531D #24832D #31B33E #52D05E #82DD8B

Accessibility & contrast

On white

2.75
#31B33E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#31B33E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B33E
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B33E#FFFFFF#000000##000000
##31B33E1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A22F
Deuteranopia (green-blind)
#A79848
Tritanopia (blue-blind)
#00AE9B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b33e;
/* rgb */ color: rgb(49, 179, 62);
/* oklch */ color: oklch(67.4% 0.192 144.4);
Tailwind
colors: {
  custom: {
    50: '#7dcb78',
    500: '#31b33e',
    950: '#000000',
  },
}
SCSS
$custom: #31b33e;
$custom-light: #7dcb78;
$custom-dark: #000000;
JSON
{
  "hex": "#31b33e",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 62
  },
  "hsl": {
    "h": 126,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67357,
    "c": 0.19244,
    "h": 144.4
  },
  "luminance": 0.33241
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B33E

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

Preview Lab → · Contrast checker → · Palette generator →

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