#31A154#31A154

#31A154 is a light, vivid green. Relative luminance 0.268; OKLCH L 62.8% C 0.151 H 149.8°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#31A154
RGBrgb(49, 161, 84)
HSLhsl(139, 53%, 41%)
HSVhsv(139, 70%, 63%)
CMYKcmyk(69.6%, 0%, 47.8%, 36.9%)
CIE-LABlab(58.77, -48.47, 31.11)
CIE-LCHlch(58.77, 57.60, 147.30°)
OKLaboklab(62.82% -0.1306 0.076)
OKLCHoklch(62.82% 0.151 149.8)
XYZxyz(15.6105, 26.7811, 12.7324)
Luminance0.2678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A154 #A1317E
analogous
#46A131 #31A154 #31A18C
triadic
#31A154 #5431A1 #A15431
tetradic
#31A154 #3146A1 #A1317E #A18C31
square
#31A154 #3146A1 #A1317E #A18C31
split-complementary
#31A154 #8C31A1 #A13146
monochromatic
#144323 #23723C #31A154 #48C770 #77D694

Accessibility & contrast

On white

3.30
#31A154 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#31A154 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A154
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A154#FFFFFF#000000##000000
##31A1541.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2934E
Deuteranopia (green-blind)
#948A59
Tritanopia (blue-blind)
#009E8F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #31a154;
/* rgb */ color: rgb(49, 161, 84);
/* oklch */ color: oklch(62.8% 0.151 149.8);
Tailwind
colors: {
  custom: {
    50: '#78be85',
    500: '#31a154',
    950: '#000000',
  },
}
SCSS
$custom: #31a154;
$custom-light: #78be85;
$custom-dark: #000000;
JSON
{
  "hex": "#31a154",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 84
  },
  "hsl": {
    "h": 138.75,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.6282,
    "c": 0.15108,
    "h": 149.8
  },
  "luminance": 0.26783
}

Semantic roles & 50–950 ramp

primary
#31A154
secondary
#BE70A5
accent
#4BAFDD
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A154

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

Preview Lab → · Contrast checker → · Palette generator →

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