#31B246#31B246

#31B246 is a light, vivid green. Relative luminance 0.329; OKLCH L 67.2% C 0.185 H 145.6°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#31B246
RGBrgb(49, 178, 70)
HSLhsl(130, 57%, 45%)
HSVhsv(130, 72%, 70%)
CMYKcmyk(72.5%, 0%, 60.7%, 30.2%)
CIE-LABlab(64.11, -56.62, 44.45)
CIE-LCHlch(64.11, 71.98, 141.87°)
OKLaboklab(67.18% -0.1528 0.1046)
OKLCHoklch(67.18% 0.185 145.6)
XYZxyz(18.2912, 32.9339, 11.1861)
Luminance0.3294 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B246 #B2319D
analogous
#5DB231 #31B246 #31B286
triadic
#31B246 #4631B2 #B24631
tetradic
#31B246 #315DB2 #B2319D #B28631
square
#31B246 #315DB2 #B2319D #B28631
split-complementary
#31B246 #8631B2 #B2315D
monochromatic
#175220 #248233 #31B246 #51CF66 #81DC90

Accessibility & contrast

On white

2.77
#31B246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#31B246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B246
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B246#FFFFFF#000000##000000
##31B2461.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A23A
Deuteranopia (green-blind)
#A6974F
Tritanopia (blue-blind)
#00AE9B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b246;
/* rgb */ color: rgb(49, 178, 70);
/* oklch */ color: oklch(67.2% 0.185 145.6);
Tailwind
colors: {
  custom: {
    50: '#7cca7d',
    500: '#31b246',
    950: '#000000',
  },
}
SCSS
$custom: #31b246;
$custom-light: #7cca7d;
$custom-dark: #000000;
JSON
{
  "hex": "#31b246",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 70
  },
  "hsl": {
    "h": 129.767,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67177,
    "c": 0.18515,
    "h": 145.6
  },
  "luminance": 0.32936
}

Semantic roles & 50–950 ramp

primary
#31B246
secondary
#C579B9
accent
#48C7E0
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B246

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

Preview Lab → · Contrast checker → · Palette generator →

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