#31AC41#31AC41

#31AC41 is a light, vivid green. Relative luminance 0.305; OKLCH L 65.5% C 0.182 H 145.1°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#31AC41
RGBrgb(49, 172, 65)
HSLhsl(128, 56%, 43%)
HSVhsv(128, 72%, 67%)
CMYKcmyk(71.5%, 0%, 62.2%, 32.5%)
CIE-LABlab(62.12, -55.15, 44.45)
CIE-LCHlch(62.12, 70.83, 141.13°)
OKLaboklab(65.51% -0.149 0.1041)
OKLCHoklch(65.51% 0.182 145.1)
XYZxyz(16.9721, 30.5378, 9.9999)
Luminance0.3054 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC41 #AC319C
analogous
#5EAC31 #31AC41 #31AC7E
triadic
#31AC41 #4131AC #AC4131
tetradic
#31AC41 #315EAC #AC319C #AC7E31
square
#31AC41 #315EAC #AC319C #AC7E31
split-complementary
#31AC41 #7E31AC #AC315E
monochromatic
#164D1D #237C2F #31AC41 #4ECC5E #7DDA89

Accessibility & contrast

On white

2.95
#31AC41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#31AC41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC41
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC41#FFFFFF#000000##000000
##31AC411.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C35
Deuteranopia (green-blind)
#A1924A
Tritanopia (blue-blind)
#00A895
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ac41;
/* rgb */ color: rgb(49, 172, 65);
/* oklch */ color: oklch(65.5% 0.182 145.1);
Tailwind
colors: {
  custom: {
    50: '#7bc679',
    500: '#31ac41',
    950: '#000000',
  },
}
SCSS
$custom: #31ac41;
$custom-light: #7bc679;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac41",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 65
  },
  "hsl": {
    "h": 127.805,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.65511,
    "c": 0.18177,
    "h": 145.1
  },
  "luminance": 0.3054
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31AC41

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

Preview Lab → · Contrast checker → · Palette generator →

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