#31AD45#31AD45

#31AD45 is a light, vivid green. Relative luminance 0.310; OKLCH L 65.8% C 0.180 H 145.7°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#31AD45
RGBrgb(49, 173, 69)
HSLhsl(130, 56%, 44%)
HSVhsv(130, 72%, 68%)
CMYKcmyk(71.7%, 0%, 60.1%, 32.2%)
CIE-LABlab(62.48, -55.01, 43.03)
CIE-LCHlch(62.48, 69.84, 141.97°)
OKLaboklab(65.83% -0.1485 0.1015)
OKLCHoklch(65.83% 0.18 145.7)
XYZxyz(17.2832, 30.9679, 10.6956)
Luminance0.3097 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AD45 #AD3199
analogous
#5BAD31 #31AD45 #31AD83
triadic
#31AD45 #4531AD #AD4531
tetradic
#31AD45 #315BAD #AD3199 #AD8331
square
#31AD45 #315BAD #AD3199 #AD8331
split-complementary
#31AD45 #8331AD #AD315B
monochromatic
#164E1F #237D32 #31AD45 #4ECD63 #7EDA8D

Accessibility & contrast

On white

2.92
#31AD45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#31AD45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AD45
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AD45#FFFFFF#000000##000000
##31AD451.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D3A
Deuteranopia (green-blind)
#A1934E
Tritanopia (blue-blind)
#00A996
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ad45;
/* rgb */ color: rgb(49, 173, 69);
/* oklch */ color: oklch(65.8% 0.180 145.7);
Tailwind
colors: {
  custom: {
    50: '#7bc77c',
    500: '#31ad45',
    950: '#000000',
  },
}
SCSS
$custom: #31ad45;
$custom-light: #7bc77c;
$custom-dark: #000000;
JSON
{
  "hex": "#31ad45",
  "rgb": {
    "r": 49,
    "g": 173,
    "b": 69
  },
  "hsl": {
    "h": 129.677,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.65826,
    "c": 0.17982,
    "h": 145.7
  },
  "luminance": 0.3097
}

Semantic roles & 50–950 ramp

primary
#31AD45
secondary
#C377B7
accent
#49C7DF
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31AD45

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

Preview Lab → · Contrast checker → · Palette generator →

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