#31AA41#31AA41

#31AA41 is a light, vivid green. Relative luminance 0.298; OKLCH L 65.0% C 0.179 H 145.1°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#31AA41
RGBrgb(49, 170, 65)
HSLhsl(128, 55%, 43%)
HSVhsv(128, 71%, 67%)
CMYKcmyk(71.2%, 0%, 61.8%, 33.3%)
CIE-LABlab(61.47, -54.45, 43.71)
CIE-LCHlch(61.47, 69.82, 141.25°)
OKLaboklab(64.97% -0.1471 0.1026)
OKLCHoklch(64.97% 0.179 145.1)
XYZxyz(16.5944, 29.7822, 9.8740)
Luminance0.2978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA41 #AA319A
analogous
#5DAA31 #31AA41 #31AA7D
triadic
#31AA41 #4131AA #AA4131
tetradic
#31AA41 #315DAA #AA319A #AA7D31
square
#31AA41 #315DAA #AA319A #AA7D31
split-complementary
#31AA41 #7D31AA #AA315D
monochromatic
#164B1D #237A2F #31AA41 #4DCC5D #7CD988

Accessibility & contrast

On white

3.02
#31AA41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#31AA41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31AA41
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AA41#FFFFFF#000000##000000
##31AA411.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A35
Deuteranopia (green-blind)
#9F914A
Tritanopia (blue-blind)
#00A694
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31aa41;
/* rgb */ color: rgb(49, 170, 65);
/* oklch */ color: oklch(65.0% 0.179 145.1);
Tailwind
colors: {
  custom: {
    50: '#7bc479',
    500: '#31aa41',
    950: '#000000',
  },
}
SCSS
$custom: #31aa41;
$custom-light: #7bc479;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa41",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 65
  },
  "hsl": {
    "h": 127.934,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.64973,
    "c": 0.17932,
    "h": 145.1
  },
  "luminance": 0.29784
}

Semantic roles & 50–950 ramp

primary
#31AA41
secondary
#C275B8
accent
#49CBDF
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AA41

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

Preview Lab → · Contrast checker → · Palette generator →

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