#31A541#31A541

#31A541 is a light, vivid green. Relative luminance 0.279; OKLCH L 63.6% C 0.173 H 145.3°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#31A541
RGBrgb(49, 165, 65)
HSLhsl(128, 54%, 42%)
HSVhsv(128, 70%, 65%)
CMYKcmyk(70.3%, 0%, 60.6%, 35.3%)
CIE-LABlab(59.84, -52.69, 41.84)
CIE-LCHlch(59.84, 67.28, 141.55°)
OKLaboklab(63.62% -0.1423 0.0985)
OKLCHoklch(63.62% 0.173 145.3)
XYZxyz(15.6748, 27.9432, 9.5675)
Luminance0.2794 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A541 #A53195
analogous
#5BA531 #31A541 #31A57B
triadic
#31A541 #4131A5 #A54131
tetradic
#31A541 #315BA5 #A53195 #A57B31
square
#31A541 #315BA5 #A53195 #A57B31
split-complementary
#31A541 #7B31A5 #A5315B
monochromatic
#15471C #23762E #31A541 #4AC95C #79D786

Accessibility & contrast

On white

3.19
#31A541 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#31A541 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A541
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A541#FFFFFF#000000##000000
##31A5411.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89636
Deuteranopia (green-blind)
#9A8C49
Tritanopia (blue-blind)
#01A18F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a541;
/* rgb */ color: rgb(49, 165, 65);
/* oklch */ color: oklch(63.6% 0.173 145.3);
Tailwind
colors: {
  custom: {
    50: '#79c179',
    500: '#31a541',
    950: '#000000',
  },
}
SCSS
$custom: #31a541;
$custom-light: #79c179;
$custom-dark: #000000;
JSON
{
  "hex": "#31a541",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 65
  },
  "hsl": {
    "h": 128.276,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.63624,
    "c": 0.17312,
    "h": 145.3
  },
  "luminance": 0.27945
}

Semantic roles & 50–950 ramp

primary
#31A541
secondary
#C072B5
accent
#4AC9DE
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #31A541

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

Preview Lab → · Contrast checker → · Palette generator →

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