#31AA45#31AA45

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

Color values

HEX#31AA45
RGBrgb(49, 170, 69)
HSLhsl(130, 55%, 43%)
HSVhsv(130, 71%, 67%)
CMYKcmyk(71.2%, 0%, 59.4%, 33.3%)
CIE-LABlab(61.51, -53.96, 41.90)
CIE-LCHlch(61.51, 68.32, 142.17°)
OKLaboklab(65.02% -0.1456 0.099)
OKLCHoklch(65.02% 0.176 145.8)
XYZxyz(16.7144, 29.8302, 10.5060)
Luminance0.2983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA45 #AA3196
analogous
#5AAA31 #31AA45 #31AA81
triadic
#31AA45 #4531AA #AA4531
tetradic
#31AA45 #315AAA #AA3196 #AA8131
square
#31AA45 #315AAA #AA3196 #AA8131
split-complementary
#31AA45 #8131AA #AA315A
monochromatic
#164B1E #237A32 #31AA45 #4DCC62 #7CD98C

Accessibility & contrast

On white

3.01
#31AA45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#31AA45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31AA45
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AA45#FFFFFF#000000##000000
##31AA451.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31aa45;
/* rgb */ color: rgb(49, 170, 69);
/* oklch */ color: oklch(65.0% 0.176 145.8);
Tailwind
colors: {
  custom: {
    50: '#7ac47c',
    500: '#31aa45',
    950: '#000000',
  },
}
SCSS
$custom: #31aa45;
$custom-light: #7ac47c;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa45",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 69
  },
  "hsl": {
    "h": 129.917,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65021,
    "c": 0.17609,
    "h": 145.8
  },
  "luminance": 0.29832
}

Semantic roles & 50–950 ramp

primary
#31AA45
secondary
#C275B5
accent
#49C6DF
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31AA45

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

Preview Lab → · Contrast checker → · Palette generator →

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