#31C268#31C268

#31C268 is a light, vivid green. Relative luminance 0.402; OKLCH L 71.9% C 0.176 H 151.2°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#31C268
RGBrgb(49, 194, 104)
HSLhsl(143, 60%, 48%)
HSVhsv(143, 75%, 76%)
CMYKcmyk(74.7%, 0%, 46.4%, 23.9%)
CIE-LABlab(69.64, -57.29, 34.63)
CIE-LCHlch(69.64, 66.95, 148.85°)
OKLaboklab(71.89% -0.154 0.0849)
OKLCHoklch(71.89% 0.176 151.2)
XYZxyz(23.0551, 40.2333, 19.6448)
Luminance0.4024 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C268 #C2318B
analogous
#42C231 #31C268 #31C2B1
triadic
#31C268 #6831C2 #C26831
tetradic
#31C268 #3142C2 #C2318B #C2B131
square
#31C268 #3142C2 #C2318B #C2B131
split-complementary
#31C268 #B131C2 #C23142
monochromatic
#186034 #25914E #31C268 #5BD689 #8CE2AC

Accessibility & contrast

On white

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

On black

9.05
#31C268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C268
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C268#FFFFFF#000000##000000
##31C2681.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B161
Deuteranopia (green-blind)
#B2A56E
Tritanopia (blue-blind)
#00BFAC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #31c268;
/* rgb */ color: rgb(49, 194, 104);
/* oklch */ color: oklch(71.9% 0.176 151.2);
Tailwind
colors: {
  custom: {
    50: '#7fd694',
    500: '#31c268',
    950: '#000000',
  },
}
SCSS
$custom: #31c268;
$custom-light: #7fd694;
$custom-dark: #000000;
JSON
{
  "hex": "#31c268",
  "rgb": {
    "r": 49,
    "g": 194,
    "b": 104
  },
  "hsl": {
    "h": 142.759,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71889,
    "c": 0.17588,
    "h": 151.2
  },
  "luminance": 0.40236
}

Semantic roles & 50–950 ramp

primary
#31C268
secondary
#CC83B0
accent
#45A7E3
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0B140D
muted
#7C837E

Preview Lab

Preview with #31C268

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

Preview Lab → · Contrast checker → · Palette generator →

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