#31AD28#31AD28

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

Color values

HEX#31AD28
RGBrgb(49, 173, 40)
HSLhsl(116, 62%, 42%)
HSVhsv(116, 77%, 68%)
CMYKcmyk(71.7%, 0%, 76.9%, 32.2%)
CIE-LABlab(62.25, -57.83, 54.57)
CIE-LCHlch(62.25, 79.51, 136.66°)
OKLaboklab(65.56% -0.1574 0.1225)
OKLCHoklch(65.56% 0.199 142.1)
XYZxyz(16.5922, 30.6915, 7.0567)
Luminance0.3069 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AD28 #A428AD
analogous
#74AD28 #31AD28 #28AD62
triadic
#31AD28 #2831AD #AD2831
tetradic
#31AD28 #2874AD #A428AD #AD6228
square
#31AD28 #2874AD #A428AD #AD6228
split-complementary
#31AD28 #6228AD #AD2874
monochromatic
#154A11 #237B1D #31AD28 #49D33F #79DE71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AD28#FFFFFF#000000##000000
##31AD281.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)
#B19C07
Deuteranopia (green-blind)
#A39337
Tritanopia (blue-blind)
#09A894
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ad28;
/* rgb */ color: rgb(49, 173, 40);
/* oklch */ color: oklch(65.6% 0.199 142.1);
Tailwind
colors: {
  custom: {
    50: '#7cc76c',
    500: '#31ad28',
    950: '#000000',
  },
}
SCSS
$custom: #31ad28;
$custom-light: #7cc76c;
$custom-dark: #000000;
JSON
{
  "hex": "#31ad28",
  "rgb": {
    "r": 49,
    "g": 173,
    "b": 40
  },
  "hsl": {
    "h": 115.94,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.65557,
    "c": 0.19946,
    "h": 142.1
  },
  "luminance": 0.30693
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31AD28

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

Preview Lab → · Contrast checker → · Palette generator →

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