#31B146#31B146

#31B146 is a light, vivid green. Relative luminance 0.325; OKLCH L 66.9% C 0.184 H 145.6°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#31B146
RGBrgb(49, 177, 70)
HSLhsl(130, 57%, 44%)
HSVhsv(130, 72%, 69%)
CMYKcmyk(72.3%, 0%, 60.5%, 30.6%)
CIE-LABlab(63.78, -56.27, 44.07)
CIE-LCHlch(63.78, 71.48, 141.93°)
OKLaboklab(66.91% -0.1519 0.1038)
OKLCHoklch(66.91% 0.184 145.6)
XYZxyz(18.0930, 32.5374, 11.1200)
Luminance0.3254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B146 #B1319C
analogous
#5CB131 #31B146 #31B186
triadic
#31B146 #4631B1 #B14631
tetradic
#31B146 #315CB1 #B1319C #B18631
square
#31B146 #315CB1 #B1319C #B18631
split-complementary
#31B146 #8631B1 #B1315C
monochromatic
#165120 #248133 #31B146 #51CF65 #80DC8F

Accessibility & contrast

On white

2.80
#31B146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#31B146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B146
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B146#FFFFFF#000000##000000
##31B1461.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A13B
Deuteranopia (green-blind)
#A5964F
Tritanopia (blue-blind)
#00AD9A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b146;
/* rgb */ color: rgb(49, 177, 70);
/* oklch */ color: oklch(66.9% 0.184 145.6);
Tailwind
colors: {
  custom: {
    50: '#7cc97d',
    500: '#31b146',
    950: '#000000',
  },
}
SCSS
$custom: #31b146;
$custom-light: #7cc97d;
$custom-dark: #000000;
JSON
{
  "hex": "#31b146",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 70
  },
  "hsl": {
    "h": 129.844,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.6691,
    "c": 0.18393,
    "h": 145.6
  },
  "luminance": 0.32539
}

Semantic roles & 50–950 ramp

primary
#31B146
secondary
#C579B8
accent
#48C7E0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B146

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

Preview Lab → · Contrast checker → · Palette generator →

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