#31AE3A#31AE3A

#31AE3A is a light, vivid green. Relative luminance 0.312; OKLCH L 66.0% C 0.189 H 144.0°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#31AE3A
RGBrgb(49, 174, 58)
HSLhsl(124, 56%, 44%)
HSVhsv(124, 72%, 68%)
CMYKcmyk(71.8%, 0%, 66.7%, 31.8%)
CIE-LABlab(62.70, -56.60, 48.17)
CIE-LCHlch(62.70, 74.32, 139.60°)
OKLaboklab(65.97% -0.1532 0.1113)
OKLCHoklch(65.97% 0.189 144)
XYZxyz(17.1653, 31.2287, 9.1253)
Luminance0.3123 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AE3A #AE31A5
analogous
#66AE31 #31AE3A #31AE78
triadic
#31AE3A #3A31AE #AE3A31
tetradic
#31AE3A #3166AE #AE31A5 #AE7831
square
#31AE3A #3166AE #AE31A5 #AE7831
split-complementary
#31AE3A #7831AE #AE3166
monochromatic
#164E1A #247E2A #31AE3A #4FCD58 #7FDB85

Accessibility & contrast

On white

2.90
#31AE3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#31AE3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AE3A
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AE3A#FFFFFF#000000##000000
##31AE3A1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E2B
Deuteranopia (green-blind)
#A39445
Tritanopia (blue-blind)
#00A996
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31ae3a;
/* rgb */ color: rgb(49, 174, 58);
/* oklch */ color: oklch(66.0% 0.189 144.0);
Tailwind
colors: {
  custom: {
    50: '#7cc775',
    500: '#31ae3a',
    950: '#000000',
  },
}
SCSS
$custom: #31ae3a;
$custom-light: #7cc775;
$custom-dark: #000000;
JSON
{
  "hex": "#31ae3a",
  "rgb": {
    "r": 49,
    "g": 174,
    "b": 58
  },
  "hsl": {
    "h": 124.32,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.65975,
    "c": 0.18941,
    "h": 144
  },
  "luminance": 0.31231
}

Semantic roles & 50–950 ramp

primary
#31AE3A
secondary
#C477BE
accent
#48D4DF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AE3A

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

Preview Lab → · Contrast checker → · Palette generator →

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