#31B73E#31B73E

#31B73E is a light, vivid green. Relative luminance 0.349; OKLCH L 68.4% C 0.197 H 144.3°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#31B73E
RGBrgb(49, 183, 62)
HSLhsl(126, 58%, 45%)
HSVhsv(126, 73%, 72%)
CMYKcmyk(73.2%, 0%, 66.1%, 28.2%)
CIE-LABlab(65.64, -59.21, 49.69)
CIE-LCHlch(65.64, 77.30, 139.99°)
OKLaboklab(68.43% -0.1601 0.115)
OKLCHoklch(68.43% 0.197 144.3)
XYZxyz(19.0684, 34.8656, 10.2813)
Luminance0.3487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B73E #B731AA
analogous
#67B731 #31B73E #31B781
triadic
#31B73E #3E31B7 #B73E31
tetradic
#31B73E #3167B7 #B731AA #B78131
square
#31B73E #3167B7 #B731AA #B78131
split-complementary
#31B73E #8131B7 #B73167
monochromatic
#17561D #24872E #31B73E #54D160 #84DE8D

Accessibility & contrast

On white

2.63
#31B73E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#31B73E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B73E
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B73E#FFFFFF#000000##000000
##31B73E1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA62E
Deuteranopia (green-blind)
#AB9B49
Tritanopia (blue-blind)
#00B29E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b73e;
/* rgb */ color: rgb(49, 183, 62);
/* oklch */ color: oklch(68.4% 0.197 144.3);
Tailwind
colors: {
  custom: {
    50: '#7ece79',
    500: '#31b73e',
    950: '#000000',
  },
}
SCSS
$custom: #31b73e;
$custom-light: #7ece79;
$custom-dark: #000000;
JSON
{
  "hex": "#31b73e",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 62
  },
  "hsl": {
    "h": 125.821,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68427,
    "c": 0.19714,
    "h": 144.3
  },
  "luminance": 0.34868
}

Semantic roles & 50–950 ramp

primary
#31B73E
secondary
#C87CC0
accent
#47D2E1
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #31B73E

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

Preview Lab → · Contrast checker → · Palette generator →

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