#31AE27#31AE27

#31AE27 is a light, highly saturated green. Relative luminance 0.311; OKLCH L 65.8% C 0.201 H 142.0°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#31AE27
RGBrgb(49, 174, 39)
HSLhsl(116, 63%, 42%)
HSVhsv(116, 78%, 68%)
CMYKcmyk(71.8%, 0%, 77.6%, 31.8%)
CIE-LABlab(62.57, -58.22, 55.22)
CIE-LCHlch(62.57, 80.24, 136.52°)
OKLaboklab(65.82% -0.1585 0.1237)
OKLCHoklch(65.82% 0.201 142)
XYZxyz(16.7679, 31.0697, 7.0324)
Luminance0.3107 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AE27 #A427AE
analogous
#74AE27 #31AE27 #27AE61
triadic
#31AE27 #2731AE #AE2731
tetradic
#31AE27 #2774AE #A427AE #AE6127
square
#31AE27 #2774AE #A427AE #AE6127
split-complementary
#31AE27 #6127AE #AE2774
monochromatic
#154A11 #237C1C #31AE27 #49D43E #79DF70

Accessibility & contrast

On white

2.91
#31AE27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#31AE27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AE27
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AE27#FFFFFF#000000##000000
##31AE271.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D03
Deuteranopia (green-blind)
#A49436
Tritanopia (blue-blind)
#08A995
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ae27;
/* rgb */ color: rgb(49, 174, 39);
/* oklch */ color: oklch(65.8% 0.201 142.0);
Tailwind
colors: {
  custom: {
    50: '#7dc76c',
    500: '#31ae27',
    950: '#000000',
  },
}
SCSS
$custom: #31ae27;
$custom-light: #7dc76c;
$custom-dark: #000000;
JSON
{
  "hex": "#31ae27",
  "rgb": {
    "r": 49,
    "g": 174,
    "b": 39
  },
  "hsl": {
    "h": 115.556,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.65821,
    "c": 0.20108,
    "h": 142
  },
  "luminance": 0.31072
}

Semantic roles & 50–950 ramp

primary
#31AE27
secondary
#BF6BC6
accent
#41E6DA
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31AE27

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

Preview Lab → · Contrast checker → · Palette generator →

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