#31B03E#31B03E

#31B03E is a light, vivid green. Relative luminance 0.321; OKLCH L 66.6% C 0.189 H 144.5°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#31B03E
RGBrgb(49, 176, 62)
HSLhsl(126, 56%, 44%)
HSVhsv(126, 72%, 69%)
CMYKcmyk(72.2%, 0%, 64.8%, 31%)
CIE-LABlab(63.38, -56.86, 47.20)
CIE-LCHlch(63.38, 73.90, 140.30°)
OKLaboklab(66.55% -0.1537 0.1097)
OKLCHoklch(66.55% 0.189 144.5)
XYZxyz(17.6603, 32.0495, 9.8119)
Luminance0.3205 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B03E #B031A3
analogous
#64B031 #31B03E #31B07E
triadic
#31B03E #3E31B0 #B03E31
tetradic
#31B03E #3164B0 #B031A3 #B07E31
square
#31B03E #3164B0 #B031A3 #B07E31
split-complementary
#31B03E #7E31B0 #B03164
monochromatic
#16501C #24802D #31B03E #50CE5D #80DC89

Accessibility & contrast

On white

2.83
#31B03E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#31B03E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B03E
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B03E#FFFFFF#000000##000000
##31B03E1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A030
Deuteranopia (green-blind)
#A59648
Tritanopia (blue-blind)
#00AB98
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31b03e;
/* rgb */ color: rgb(49, 176, 62);
/* oklch */ color: oklch(66.6% 0.189 144.5);
Tailwind
colors: {
  custom: {
    50: '#7cc978',
    500: '#31b03e',
    950: '#000000',
  },
}
SCSS
$custom: #31b03e;
$custom-light: #7cc978;
$custom-dark: #000000;
JSON
{
  "hex": "#31b03e",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 62
  },
  "hsl": {
    "h": 126.142,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66553,
    "c": 0.18888,
    "h": 144.5
  },
  "luminance": 0.32051
}

Semantic roles & 50–950 ramp

primary
#31B03E
secondary
#C578BD
accent
#48D0E0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B03E

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

Preview Lab → · Contrast checker → · Palette generator →

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