#31A454#31A454

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

Color values

HEX#31A454
RGBrgb(49, 164, 84)
HSLhsl(138, 54%, 42%)
HSVhsv(138, 70%, 64%)
CMYKcmyk(70.1%, 0%, 48.8%, 35.7%)
CIE-LABlab(59.75, -49.61, 32.34)
CIE-LCHlch(59.75, 59.22, 146.89°)
OKLaboklab(63.63% -0.1336 0.0788)
OKLCHoklch(63.63% 0.155 149.5)
XYZxyz(16.1410, 27.8422, 12.9092)
Luminance0.2784 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A454 #A43181
analogous
#48A431 #31A454 #31A48E
triadic
#31A454 #5431A4 #A45431
tetradic
#31A454 #3148A4 #A43181 #A48E31
square
#31A454 #3148A4 #A43181 #A48E31
split-complementary
#31A454 #8E31A4 #A43148
monochromatic
#154624 #23753C #31A454 #49C970 #79D795

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A454#FFFFFF#000000##000000
##31A4541.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)
#A5964E
Deuteranopia (green-blind)
#978C5A
Tritanopia (blue-blind)
#00A191
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a454;
/* rgb */ color: rgb(49, 164, 84);
/* oklch */ color: oklch(63.6% 0.155 149.5);
Tailwind
colors: {
  custom: {
    50: '#78c085',
    500: '#31a454',
    950: '#000000',
  },
}
SCSS
$custom: #31a454;
$custom-light: #78c085;
$custom-dark: #000000;
JSON
{
  "hex": "#31a454",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 84
  },
  "hsl": {
    "h": 138.261,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63625,
    "c": 0.15511,
    "h": 149.5
  },
  "luminance": 0.27844
}

Semantic roles & 50–950 ramp

primary
#31A454
secondary
#BF72A8
accent
#4AB1DD
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A454

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

Preview Lab → · Contrast checker → · Palette generator →

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