#31A450#31A450

#31A450 is a light, vivid green. Relative luminance 0.278; OKLCH L 63.6% C 0.159 H 148.5°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#31A450
RGBrgb(49, 164, 80)
HSLhsl(136, 54%, 42%)
HSVhsv(136, 70%, 64%)
CMYKcmyk(70.1%, 0%, 51.2%, 35.7%)
CIE-LABlab(59.69, -50.24, 34.33)
CIE-LCHlch(59.69, 60.85, 145.66°)
OKLaboklab(63.56% -0.1353 0.0831)
OKLCHoklch(63.56% 0.159 148.5)
XYZxyz(15.9888, 27.7813, 12.1076)
Luminance0.2778 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A450 #A43185
analogous
#4CA431 #31A450 #31A48A
triadic
#31A450 #5031A4 #A45031
tetradic
#31A450 #314CA4 #A43185 #A48A31
square
#31A450 #314CA4 #A43185 #A48A31
split-complementary
#31A450 #8A31A4 #A4314C
monochromatic
#154622 #237539 #31A450 #49C96C #79D792

Accessibility & contrast

On white

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

On black

6.56
#31A450 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A450
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A450#FFFFFF#000000##000000
##31A4501.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69649
Deuteranopia (green-blind)
#988C56
Tritanopia (blue-blind)
#00A191
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a450;
/* rgb */ color: rgb(49, 164, 80);
/* oklch */ color: oklch(63.6% 0.159 148.5);
Tailwind
colors: {
  custom: {
    50: '#79c083',
    500: '#31a450',
    950: '#000000',
  },
}
SCSS
$custom: #31a450;
$custom-light: #79c083;
$custom-dark: #000000;
JSON
{
  "hex": "#31a450",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 80
  },
  "hsl": {
    "h": 136.174,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63561,
    "c": 0.1588,
    "h": 148.5
  },
  "luminance": 0.27783
}

Semantic roles & 50–950 ramp

primary
#31A450
secondary
#BF72AA
accent
#4AB6DD
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A450

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

Preview Lab → · Contrast checker → · Palette generator →

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