#31C068#31C068

#31C068 is a light, vivid green. Relative luminance 0.394; OKLCH L 71.4% C 0.173 H 151.4°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#31C068
RGBrgb(49, 192, 104)
HSLhsl(143, 59%, 47%)
HSVhsv(143, 74%, 75%)
CMYKcmyk(74.5%, 0%, 45.8%, 24.7%)
CIE-LABlab(69.00, -56.57, 33.83)
CIE-LCHlch(69.00, 65.92, 149.12°)
OKLaboklab(71.37% -0.1521 0.083)
OKLCHoklch(71.37% 0.173 151.4)
XYZxyz(22.6130, 39.3491, 19.4974)
Luminance0.3935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C068 #C03189
analogous
#42C031 #31C068 #31C0B0
triadic
#31C068 #6831C0 #C06831
tetradic
#31C068 #3142C0 #C03189 #C0B031
square
#31C068 #3142C0 #C03189 #C0B031
split-complementary
#31C068 #B031C0 #C03142
monochromatic
#185E33 #258F4E #31C068 #59D589 #8AE1AC

Accessibility & contrast

On white

2.37
#31C068 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#31C068 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C068
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C068#FFFFFF#000000##000000
##31C0681.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B061
Deuteranopia (green-blind)
#B0A46E
Tritanopia (blue-blind)
#00BDAB
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #31c068;
/* rgb */ color: rgb(49, 192, 104);
/* oklch */ color: oklch(71.4% 0.173 151.4);
Tailwind
colors: {
  custom: {
    50: '#7ed494',
    500: '#31c068',
    950: '#000000',
  },
}
SCSS
$custom: #31c068;
$custom-light: #7ed494;
$custom-dark: #000000;
JSON
{
  "hex": "#31c068",
  "rgb": {
    "r": 49,
    "g": 192,
    "b": 104
  },
  "hsl": {
    "h": 143.077,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71367,
    "c": 0.17332,
    "h": 151.4
  },
  "luminance": 0.39352
}

Semantic roles & 50–950 ramp

primary
#31C068
secondary
#CB82AF
accent
#45A6E3
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0B140D
muted
#7C837E

Preview Lab

Preview with #31C068

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

Preview Lab → · Contrast checker → · Palette generator →

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