#31A455#31A455

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

Color values

HEX#31A455
RGBrgb(49, 164, 85)
HSLhsl(139, 54%, 42%)
HSVhsv(139, 70%, 64%)
CMYKcmyk(70.1%, 0%, 48.2%, 35.7%)
CIE-LABlab(59.76, -49.44, 31.84)
CIE-LCHlch(59.76, 58.81, 147.22°)
OKLaboklab(63.64% -0.1332 0.0777)
OKLCHoklch(63.64% 0.154 149.7)
XYZxyz(16.1805, 27.8580, 13.1170)
Luminance0.2786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A455 #A43180
analogous
#46A431 #31A455 #31A48F
triadic
#31A455 #5531A4 #A45531
tetradic
#31A455 #3146A4 #A43180 #A48F31
square
#31A455 #3146A4 #A43180 #A48F31
split-complementary
#31A455 #8F31A4 #A43146
monochromatic
#154624 #23753D #31A455 #49C971 #79D796

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A455#FFFFFF#000000##000000
##31A4551.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)
#A5964F
Deuteranopia (green-blind)
#978C5B
Tritanopia (blue-blind)
#00A191
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a455;
/* rgb */ color: rgb(49, 164, 85);
/* oklch */ color: oklch(63.6% 0.154 149.7);
Tailwind
colors: {
  custom: {
    50: '#78c086',
    500: '#31a455',
    950: '#000000',
  },
}
SCSS
$custom: #31a455;
$custom-light: #78c086;
$custom-dark: #000000;
JSON
{
  "hex": "#31a455",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 85
  },
  "hsl": {
    "h": 138.783,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63641,
    "c": 0.15418,
    "h": 149.7
  },
  "luminance": 0.2786
}

Semantic roles & 50–950 ramp

primary
#31A455
secondary
#BF72A7
accent
#4AAFDD
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A455

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

Preview Lab → · Contrast checker → · Palette generator →

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