#31AD27#31AD27

#31AD27 is a light, vivid green. Relative luminance 0.307; OKLCH L 65.5% C 0.200 H 142.0°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#31AD27
RGBrgb(49, 173, 39)
HSLhsl(116, 63%, 42%)
HSVhsv(116, 77%, 68%)
CMYKcmyk(71.7%, 0%, 77.5%, 32.2%)
CIE-LABlab(62.24, -57.90, 54.90)
CIE-LCHlch(62.24, 79.79, 136.52°)
OKLaboklab(65.55% -0.1577 0.123)
OKLCHoklch(65.55% 0.2 142)
XYZxyz(16.5754, 30.6848, 6.9683)
Luminance0.3069 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AD27 #A327AD
analogous
#74AD27 #31AD27 #27AD60
triadic
#31AD27 #2731AD #AD2731
tetradic
#31AD27 #2774AD #A327AD #AD6027
square
#31AD27 #2774AD #A327AD #AD6027
split-complementary
#31AD27 #6027AD #AD2774
monochromatic
#154910 #237B1C #31AD27 #49D33E #78DF70

Accessibility & contrast

On white

2.94
#31AD27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#31AD27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AD27
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AD27#FFFFFF#000000##000000
##31AD271.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C04
Deuteranopia (green-blind)
#A39336
Tritanopia (blue-blind)
#09A894
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ad27;
/* rgb */ color: rgb(49, 173, 39);
/* oklch */ color: oklch(65.5% 0.200 142.0);
Tailwind
colors: {
  custom: {
    50: '#7cc76b',
    500: '#31ad27',
    950: '#000000',
  },
}
SCSS
$custom: #31ad27;
$custom-light: #7cc76b;
$custom-dark: #000000;
JSON
{
  "hex": "#31ad27",
  "rgb": {
    "r": 49,
    "g": 173,
    "b": 39
  },
  "hsl": {
    "h": 115.522,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6555,
    "c": 0.19998,
    "h": 142
  },
  "luminance": 0.30687
}

Semantic roles & 50–950 ramp

primary
#31AD27
secondary
#BF6AC6
accent
#42E6DA
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31AD27

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

Preview Lab → · Contrast checker → · Palette generator →

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