#31C046#31C046

#31C046 is a light, highly saturated green. Relative luminance 0.388; OKLCH L 70.9% C 0.202 H 145.1°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#31C046
RGBrgb(49, 192, 70)
HSLhsl(129, 59%, 47%)
HSVhsv(129, 74%, 75%)
CMYKcmyk(74.5%, 0%, 63.5%, 24.7%)
CIE-LABlab(68.60, -61.33, 49.54)
CIE-LCHlch(68.60, 78.84, 141.07°)
OKLaboklab(70.9% -0.1656 0.1155)
OKLCHoklch(70.9% 0.202 145.1)
XYZxyz(21.2203, 38.7920, 12.1624)
Luminance0.3879 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C046 #C031AB
analogous
#64C031 #31C046 #31C08D
triadic
#31C046 #4631C0 #C04631
tetradic
#31C046 #3164C0 #C031AB #C08D31
square
#31C046 #3164C0 #C031AB #C08D31
split-complementary
#31C046 #8D31C0 #C03164
monochromatic
#185E22 #258F34 #31C046 #59D56C #8AE197

Accessibility & contrast

On white

2.40
#31C046 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#31C046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C046
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C046#FFFFFF#000000##000000
##31C0461.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE38
Deuteranopia (green-blind)
#B3A351
Tritanopia (blue-blind)
#00BBA6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #31c046;
/* rgb */ color: rgb(49, 192, 70);
/* oklch */ color: oklch(70.9% 0.202 145.1);
Tailwind
colors: {
  custom: {
    50: '#7fd47e',
    500: '#31c046',
    950: '#000000',
  },
}
SCSS
$custom: #31c046;
$custom-light: #7fd47e;
$custom-dark: #000000;
JSON
{
  "hex": "#31c046",
  "rgb": {
    "r": 49,
    "g": 192,
    "b": 70
  },
  "hsl": {
    "h": 128.811,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70903,
    "c": 0.20186,
    "h": 145.1
  },
  "luminance": 0.38794
}

Semantic roles & 50–950 ramp

primary
#31C046
secondary
#CB82C0
accent
#45CBE3
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #31C046

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

Preview Lab → · Contrast checker → · Palette generator →

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