#31B04B#31B04B

#31B04B is a light, vivid green. Relative luminance 0.322; OKLCH L 66.7% C 0.179 H 146.6°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#31B04B
RGBrgb(49, 176, 75)
HSLhsl(132, 56%, 44%)
HSVhsv(132, 72%, 69%)
CMYKcmyk(72.2%, 0%, 57.4%, 31%)
CIE-LABlab(63.52, -55.29, 41.42)
CIE-LCHlch(63.52, 69.08, 143.16°)
OKLaboklab(66.71% -0.149 0.0984)
OKLCHoklch(66.71% 0.179 146.6)
XYZxyz(18.0607, 32.2096, 11.9205)
Luminance0.3221 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B04B #B03196
analogous
#57B031 #31B04B #31B08A
triadic
#31B04B #4B31B0 #B04B31
tetradic
#31B04B #3157B0 #B03196 #B08A31
square
#31B04B #3157B0 #B03196 #B08A31
split-complementary
#31B04B #8A31B0 #B03157
monochromatic
#165022 #248037 #31B04B #50CE6A #80DC93

Accessibility & contrast

On white

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

On black

7.44
#31B04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B04B
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B04B#FFFFFF#000000##000000
##31B04B1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b04b;
/* rgb */ color: rgb(49, 176, 75);
/* oklch */ color: oklch(66.7% 0.179 146.6);
Tailwind
colors: {
  custom: {
    50: '#7bc980',
    500: '#31b04b',
    950: '#000000',
  },
}
SCSS
$custom: #31b04b;
$custom-light: #7bc980;
$custom-dark: #000000;
JSON
{
  "hex": "#31b04b",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 75
  },
  "hsl": {
    "h": 132.283,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66705,
    "c": 0.1786,
    "h": 146.6
  },
  "luminance": 0.32212
}

Semantic roles & 50–950 ramp

primary
#31B04B
secondary
#C578B5
accent
#48C1E0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B04B

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

Preview Lab → · Contrast checker → · Palette generator →

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