#31A361#31A361

#31A361 is a light, vivid green. Relative luminance 0.277; OKLCH L 63.6% C 0.141 H 153.6°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#31A361
RGBrgb(49, 163, 97)
HSLhsl(145, 54%, 42%)
HSVhsv(145, 70%, 64%)
CMYKcmyk(69.9%, 0%, 40.5%, 36.1%)
CIE-LABlab(59.62, -46.93, 25.32)
CIE-LCHlch(59.62, 53.33, 151.65°)
OKLaboklab(63.59% -0.1267 0.063)
OKLCHoklch(63.59% 0.141 153.6)
XYZxyz(16.5200, 27.7086, 15.7846)
Luminance0.2771 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A361 #A33173
analogous
#3AA331 #31A361 #31A39A
triadic
#31A361 #6131A3 #A36131
tetradic
#31A361 #313AA3 #A33173 #A39A31
square
#31A361 #313AA3 #A33173 #A39A31
split-complementary
#31A361 #9A31A3 #A3313A
monochromatic
#154529 #237445 #31A361 #49C87F #78D6A0

Accessibility & contrast

On white

3.21
#31A361 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#31A361 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A361
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A361#FFFFFF#000000##000000
##31A3611.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3965C
Deuteranopia (green-blind)
#958C65
Tritanopia (blue-blind)
#00A193
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a361;
/* rgb */ color: rgb(49, 163, 97);
/* oklch */ color: oklch(63.6% 0.141 153.6);
Tailwind
colors: {
  custom: {
    50: '#78bf8e',
    500: '#31a361',
    950: '#000000',
  },
}
SCSS
$custom: #31a361;
$custom-light: #78bf8e;
$custom-dark: #000000;
JSON
{
  "hex": "#31a361",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 97
  },
  "hsl": {
    "h": 145.263,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.63591,
    "c": 0.14147,
    "h": 153.6
  },
  "luminance": 0.2771
}

Semantic roles & 50–950 ramp

primary
#31A361
secondary
#BF719E
accent
#4B9FDD
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A361

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

Preview Lab → · Contrast checker → · Palette generator →

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