#31C451#31C451

#31C451 is a light, vivid green. Relative luminance 0.407; OKLCH L 72.1% C 0.198 H 146.5°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#31C451
RGBrgb(49, 196, 81)
HSLhsl(133, 60%, 48%)
HSVhsv(133, 75%, 77%)
CMYKcmyk(75%, 0%, 58.7%, 23.1%)
CIE-LABlab(69.98, -61.36, 46.21)
CIE-LCHlch(69.98, 76.81, 143.01°)
OKLaboklab(72.08% -0.1652 0.1093)
OKLCHoklch(72.08% 0.198 146.5)
XYZxyz(22.4901, 40.7243, 14.4583)
Luminance0.4073 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C451 #C431A4
analogous
#5BC431 #31C451 #31C49A
triadic
#31C451 #5131C4 #C45131
tetradic
#31C451 #315BC4 #C431A4 #C49A31
square
#31C451 #315BC4 #C431A4 #C49A31
split-complementary
#31C451 #9A31C4 #C4315B
monochromatic
#196229 #25933D #31C451 #5CD677 #8DE2A0

Accessibility & contrast

On white

2.30
#31C451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#31C451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C451
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C451#FFFFFF#000000##000000
##31C4511.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B245
Deuteranopia (green-blind)
#B6A65A
Tritanopia (blue-blind)
#00BFAB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #31c451;
/* rgb */ color: rgb(49, 196, 81);
/* oklch */ color: oklch(72.1% 0.198 146.5);
Tailwind
colors: {
  custom: {
    50: '#80d785',
    500: '#31c451',
    950: '#000000',
  },
}
SCSS
$custom: #31c451;
$custom-light: #80d785;
$custom-dark: #000000;
JSON
{
  "hex": "#31c451",
  "rgb": {
    "r": 49,
    "g": 196,
    "b": 81
  },
  "hsl": {
    "h": 133.061,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72084,
    "c": 0.19812,
    "h": 146.5
  },
  "luminance": 0.40727
}

Semantic roles & 50–950 ramp

primary
#31C451
secondary
#CD84BD
accent
#45C1E3
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C150B
muted
#7D837C

Preview Lab

Preview with #31C451

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

Preview Lab → · Contrast checker → · Palette generator →

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