#31A448#31A448

#31A448 is a light, vivid green. Relative luminance 0.277; OKLCH L 63.4% C 0.166 H 146.7°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#31A448
RGBrgb(49, 164, 72)
HSLhsl(132, 54%, 42%)
HSVhsv(132, 70%, 64%)
CMYKcmyk(70.1%, 0%, 56.1%, 35.7%)
CIE-LABlab(59.59, -51.41, 38.20)
CIE-LCHlch(59.59, 64.05, 143.39°)
OKLaboklab(63.44% -0.1386 0.0912)
OKLCHoklch(63.44% 0.166 146.7)
XYZxyz(15.7107, 27.6701, 10.6425)
Luminance0.2767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A448 #A4318D
analogous
#54A431 #31A448 #31A482
triadic
#31A448 #4831A4 #A44831
tetradic
#31A448 #3154A4 #A4318D #A48231
square
#31A448 #3154A4 #A4318D #A48231
split-complementary
#31A448 #8231A4 #A43154
monochromatic
#15461F #237533 #31A448 #49C963 #79D78B

Accessibility & contrast

On white

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

On black

6.53
#31A448 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A448
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A448#FFFFFF#000000##000000
##31A4481.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6953F
Deuteranopia (green-blind)
#988C4F
Tritanopia (blue-blind)
#00A08F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #31a448;
/* rgb */ color: rgb(49, 164, 72);
/* oklch */ color: oklch(63.4% 0.166 146.7);
Tailwind
colors: {
  custom: {
    50: '#79c07d',
    500: '#31a448',
    950: '#000000',
  },
}
SCSS
$custom: #31a448;
$custom-light: #79c07d;
$custom-dark: #000000;
JSON
{
  "hex": "#31a448",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 72
  },
  "hsl": {
    "h": 132,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63444,
    "c": 0.16594,
    "h": 146.7
  },
  "luminance": 0.27672
}

Semantic roles & 50–950 ramp

primary
#31A448
secondary
#BF72B0
accent
#4AC0DD
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#0A120A
muted
#7C817C

Preview Lab

Preview with #31A448

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

Preview Lab → · Contrast checker → · Palette generator →

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