#31A537#31A537

#31A537 is a light, vivid green. Relative luminance 0.278; OKLCH L 63.5% C 0.181 H 143.8°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#31A537
RGBrgb(49, 165, 55)
HSLhsl(123, 54%, 42%)
HSVhsv(123, 70%, 65%)
CMYKcmyk(70.3%, 0%, 66.7%, 35.3%)
CIE-LABlab(59.74, -53.83, 46.22)
CIE-LCHlch(59.74, 70.95, 139.35°)
OKLaboklab(63.51% -0.1459 0.1069)
OKLCHoklch(63.51% 0.181 143.8)
XYZxyz(15.4104, 27.8374, 8.1747)
Luminance0.2784 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A537 #A5319F
analogous
#65A531 #31A537 #31A571
triadic
#31A537 #3731A5 #A53731
tetradic
#31A537 #3165A5 #A5319F #A57131
square
#31A537 #3165A5 #A5319F #A57131
split-complementary
#31A537 #7131A5 #A53165
monochromatic
#154718 #237627 #31A537 #4AC951 #79D77E

Accessibility & contrast

On white

3.20
#31A537 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#31A537 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A537
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A537#FFFFFF#000000##000000
##31A5371.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89629
Deuteranopia (green-blind)
#9B8C41
Tritanopia (blue-blind)
#09A08E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a537;
/* rgb */ color: rgb(49, 165, 55);
/* oklch */ color: oklch(63.5% 0.181 143.8);
Tailwind
colors: {
  custom: {
    50: '#7ac173',
    500: '#31a537',
    950: '#000000',
  },
}
SCSS
$custom: #31a537;
$custom-light: #7ac173;
$custom-dark: #000000;
JSON
{
  "hex": "#31a537",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 55
  },
  "hsl": {
    "h": 123.103,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.63514,
    "c": 0.18082,
    "h": 143.8
  },
  "luminance": 0.27839
}

Semantic roles & 50–950 ramp

primary
#31A537
secondary
#C072BC
accent
#4AD6DE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #31A537

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

Preview Lab → · Contrast checker → · Palette generator →

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