#31B04E#31B04E

#31B04E is a light, vivid green. Relative luminance 0.323; OKLCH L 66.7% C 0.176 H 147.1°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#31B04E
RGBrgb(49, 176, 78)
HSLhsl(134, 56%, 44%)
HSVhsv(134, 72%, 69%)
CMYKcmyk(72.2%, 0%, 55.7%, 31%)
CIE-LABlab(63.55, -54.88, 40.02)
CIE-LCHlch(63.55, 67.92, 143.90°)
OKLaboklab(66.75% -0.1478 0.0956)
OKLCHoklch(66.75% 0.176 147.1)
XYZxyz(18.1658, 32.2517, 12.4741)
Luminance0.3225 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B04E #B03193
analogous
#54B031 #31B04E #31B08E
triadic
#31B04E #4E31B0 #B04E31
tetradic
#31B04E #3154B0 #B03193 #B08E31
square
#31B04E #3154B0 #B03193 #B08E31
split-complementary
#31B04E #8E31B0 #B03154
monochromatic
#165024 #248039 #31B04E #50CE6D #80DC95

Accessibility & contrast

On white

2.82
#31B04E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#31B04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B04E
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B04E#FFFFFF#000000##000000
##31B04E1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A045
Deuteranopia (green-blind)
#A39656
Tritanopia (blue-blind)
#00AC9A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b04e;
/* rgb */ color: rgb(49, 176, 78);
/* oklch */ color: oklch(66.7% 0.176 147.1);
Tailwind
colors: {
  custom: {
    50: '#7bc982',
    500: '#31b04e',
    950: '#000000',
  },
}
SCSS
$custom: #31b04e;
$custom-light: #7bc982;
$custom-dark: #000000;
JSON
{
  "hex": "#31b04e",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 78
  },
  "hsl": {
    "h": 133.701,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66745,
    "c": 0.17605,
    "h": 147.1
  },
  "luminance": 0.32254
}

Semantic roles & 50–950 ramp

primary
#31B04E
secondary
#C578B3
accent
#48BDE0
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31B04E

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

Preview Lab → · Contrast checker → · Palette generator →

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