#31A153#31A153

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

Color values

HEX#31A153
RGBrgb(49, 161, 83)
HSLhsl(138, 53%, 41%)
HSVhsv(138, 70%, 63%)
CMYKcmyk(69.6%, 0%, 48.4%, 36.9%)
CIE-LABlab(58.76, -48.64, 31.62)
CIE-LCHlch(58.76, 58.01, 146.97°)
OKLaboklab(62.8% -0.131 0.0771)
OKLCHoklch(62.8% 0.152 149.5)
XYZxyz(15.5716, 26.7655, 12.5276)
Luminance0.2677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A153 #A1317F
analogous
#47A131 #31A153 #31A18B
triadic
#31A153 #5331A1 #A15331
tetradic
#31A153 #3147A1 #A1317F #A18B31
square
#31A153 #3147A1 #A1317F #A18B31
split-complementary
#31A153 #8B31A1 #A13147
monochromatic
#144323 #23723B #31A153 #48C76F #77D694

Accessibility & contrast

On white

3.31
#31A153 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#31A153 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A153
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A153#FFFFFF#000000##000000
##31A1531.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31a153;
/* rgb */ color: rgb(49, 161, 83);
/* oklch */ color: oklch(62.8% 0.152 149.5);
Tailwind
colors: {
  custom: {
    50: '#78be85',
    500: '#31a153',
    950: '#000000',
  },
}
SCSS
$custom: #31a153;
$custom-light: #78be85;
$custom-dark: #000000;
JSON
{
  "hex": "#31a153",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 83
  },
  "hsl": {
    "h": 138.214,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.62803,
    "c": 0.15203,
    "h": 149.5
  },
  "luminance": 0.26767
}

Semantic roles & 50–950 ramp

primary
#31A153
secondary
#BE70A6
accent
#4BB1DD
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A153

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

Preview Lab → · Contrast checker → · Palette generator →

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