#31AE28#31AE28

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

Color values

HEX#31AE28
RGBrgb(49, 174, 40)
HSLhsl(116, 63%, 42%)
HSVhsv(116, 77%, 68%)
CMYKcmyk(71.8%, 0%, 77%, 31.8%)
CIE-LABlab(62.57, -58.15, 54.89)
CIE-LCHlch(62.57, 79.97, 136.65°)
OKLaboklab(65.83% -0.1583 0.1232)
OKLCHoklch(65.83% 0.201 142.1)
XYZxyz(16.7847, 31.0764, 7.1208)
Luminance0.3108 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AE28 #A528AE
analogous
#74AE28 #31AE28 #28AE62
triadic
#31AE28 #2831AE #AE2831
tetradic
#31AE28 #2874AE #A528AE #AE6228
square
#31AE28 #2874AE #A528AE #AE6228
split-complementary
#31AE28 #6228AE #AE2874
monochromatic
#154A11 #237C1D #31AE28 #4AD340 #79DF72

Accessibility & contrast

On white

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

On black

7.22
#31AE28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AE28
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AE28#FFFFFF#000000##000000
##31AE281.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31ae28;
/* rgb */ color: rgb(49, 174, 40);
/* oklch */ color: oklch(65.8% 0.201 142.1);
Tailwind
colors: {
  custom: {
    50: '#7dc76c',
    500: '#31ae28',
    950: '#000000',
  },
}
SCSS
$custom: #31ae28;
$custom-light: #7dc76c;
$custom-dark: #000000;
JSON
{
  "hex": "#31ae28",
  "rgb": {
    "r": 49,
    "g": 174,
    "b": 40
  },
  "hsl": {
    "h": 115.97,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65827,
    "c": 0.20057,
    "h": 142.1
  },
  "luminance": 0.31078
}

Semantic roles & 50–950 ramp

primary
#31AE28
secondary
#C06CC6
accent
#42E6DB
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31AE28

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

Preview Lab → · Contrast checker → · Palette generator →

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