#31A45F#31A45F

#31A45F is a light, vivid green. Relative luminance 0.280; OKLCH L 63.8% C 0.145 H 152.7°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#31A45F
RGBrgb(49, 164, 95)
HSLhsl(144, 54%, 42%)
HSVhsv(144, 70%, 64%)
CMYKcmyk(70.1%, 0%, 42.1%, 35.7%)
CIE-LABlab(59.91, -47.70, 26.78)
CIE-LCHlch(59.91, 54.70, 150.69°)
OKLaboklab(63.82% -0.1286 0.0664)
OKLCHoklch(63.82% 0.145 152.7)
XYZxyz(16.6062, 28.0283, 15.3591)
Luminance0.2803 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A45F #A43176
analogous
#3DA431 #31A45F #31A499
triadic
#31A45F #5F31A4 #A45F31
tetradic
#31A45F #313DA4 #A43176 #A49931
square
#31A45F #313DA4 #A43176 #A49931
split-complementary
#31A45F #9931A4 #A4313D
monochromatic
#154628 #237544 #31A45F #49C97C #79D79E

Accessibility & contrast

On white

3.18
#31A45F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#31A45F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A45F
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A45F#FFFFFF#000000##000000
##31A45F1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4965A
Deuteranopia (green-blind)
#968C64
Tritanopia (blue-blind)
#00A293
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a45f;
/* rgb */ color: rgb(49, 164, 95);
/* oklch */ color: oklch(63.8% 0.145 152.7);
Tailwind
colors: {
  custom: {
    50: '#78c08d',
    500: '#31a45f',
    950: '#000000',
  },
}
SCSS
$custom: #31a45f;
$custom-light: #78c08d;
$custom-dark: #000000;
JSON
{
  "hex": "#31a45f",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 95
  },
  "hsl": {
    "h": 144,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63818,
    "c": 0.14473,
    "h": 152.7
  },
  "luminance": 0.2803
}

Semantic roles & 50–950 ramp

primary
#31A45F
secondary
#BF72A0
accent
#4AA3DD
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A45F

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

Preview Lab → · Contrast checker → · Palette generator →

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