#31B04A#31B04A

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

Color values

HEX#31B04A
RGBrgb(49, 176, 74)
HSLhsl(132, 56%, 44%)
HSVhsv(132, 72%, 69%)
CMYKcmyk(72.2%, 0%, 58%, 31%)
CIE-LABlab(63.50, -55.42, 41.88)
CIE-LCHlch(63.50, 69.46, 142.92°)
OKLaboklab(66.69% -0.1494 0.0994)
OKLCHoklch(66.69% 0.179 146.4)
XYZxyz(18.0267, 32.1960, 11.7417)
Luminance0.3220 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B04A #B03197
analogous
#58B031 #31B04A #31B08A
triadic
#31B04A #4A31B0 #B04A31
tetradic
#31B04A #3158B0 #B03197 #B08A31
square
#31B04A #3158B0 #B03197 #B08A31
split-complementary
#31B04A #8A31B0 #B03158
monochromatic
#165022 #248036 #31B04A #50CE69 #80DC92

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B04A#FFFFFF#000000##000000
##31B04A1.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)
#B2A040
Deuteranopia (green-blind)
#A49652
Tritanopia (blue-blind)
#00AC9A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b04a;
/* rgb */ color: rgb(49, 176, 74);
/* oklch */ color: oklch(66.7% 0.179 146.4);
Tailwind
colors: {
  custom: {
    50: '#7bc97f',
    500: '#31b04a',
    950: '#000000',
  },
}
SCSS
$custom: #31b04a;
$custom-light: #7bc97f;
$custom-dark: #000000;
JSON
{
  "hex": "#31b04a",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 74
  },
  "hsl": {
    "h": 131.811,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66692,
    "c": 0.17942,
    "h": 146.4
  },
  "luminance": 0.32198
}

Semantic roles & 50–950 ramp

primary
#31B04A
secondary
#C578B6
accent
#48C2E0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B04A

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

Preview Lab → · Contrast checker → · Palette generator →

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