#31C42B#31C42B

#31C42B is a light, highly saturated green. Relative luminance 0.403; OKLCH L 71.7% C 0.223 H 142.4°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#31C42B
RGBrgb(49, 196, 43)
HSLhsl(118, 64%, 47%)
HSVhsv(118, 78%, 77%)
CMYKcmyk(75%, 0%, 78.1%, 23.1%)
CIE-LABlab(69.69, -64.96, 60.82)
CIE-LCHlch(69.69, 88.99, 136.88°)
OKLaboklab(71.74% -0.1766 0.1359)
OKLCHoklch(71.74% 0.223 142.4)
XYZxyz(21.4413, 40.3048, 8.9346)
Luminance0.4031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C42B #BE2BC4
analogous
#7EC42B #31C42B #2BC472
triadic
#31C42B #2B31C4 #C42B31
tetradic
#31C42B #2B7EC4 #BE2BC4 #C4722B
square
#31C42B #2B7EC4 #BE2BC4 #C4722B
split-complementary
#31C42B #722BC4 #C42B7E
monochromatic
#186015 #249220 #31C42B #58D953 #89E485

Accessibility & contrast

On white

2.32
#31C42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#31C42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C42B
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C42B#FFFFFF#000000##000000
##31C42B1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B100
Deuteranopia (green-blind)
#B8A63D
Tritanopia (blue-blind)
#00BEA8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #31c42b;
/* rgb */ color: rgb(49, 196, 43);
/* oklch */ color: oklch(71.7% 0.223 142.4);
Tailwind
colors: {
  custom: {
    50: '#81d770',
    500: '#31c42b',
    950: '#000000',
  },
}
SCSS
$custom: #31c42b;
$custom-light: #81d770;
$custom-dark: #000000;
JSON
{
  "hex": "#31c42b",
  "rgb": {
    "r": 49,
    "g": 196,
    "b": 43
  },
  "hsl": {
    "h": 117.647,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.71743,
    "c": 0.22286,
    "h": 142.4
  },
  "luminance": 0.40307
}

Semantic roles & 50–950 ramp

primary
#31C42B
secondary
#CA7DCE
accent
#41E7E1
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1508
muted
#7D837B

Preview Lab

Preview with #31C42B

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

Preview Lab → · Contrast checker → · Palette generator →

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