#31B055#31B055

#31B055 is a light, vivid green. Relative luminance 0.324; OKLCH L 66.8% C 0.170 H 148.6°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#31B055
RGBrgb(49, 176, 85)
HSLhsl(137, 56%, 44%)
HSVhsv(137, 72%, 69%)
CMYKcmyk(72.2%, 0%, 51.7%, 31%)
CIE-LABlab(63.64, -53.86, 36.68)
CIE-LCHlch(63.64, 65.17, 145.74°)
OKLaboklab(66.85% -0.145 0.0886)
OKLCHoklch(66.85% 0.17 148.6)
XYZxyz(18.4302, 32.3574, 13.8669)
Luminance0.3236 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B055 #B0318C
analogous
#4DB031 #31B055 #31B095
triadic
#31B055 #5531B0 #B05531
tetradic
#31B055 #314DB0 #B0318C #B09531
square
#31B055 #314DB0 #B0318C #B09531
split-complementary
#31B055 #9531B0 #B0314D
monochromatic
#165027 #24803E #31B055 #50CE74 #80DC9A

Accessibility & contrast

On white

2.81
#31B055 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#31B055 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B055
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B055#FFFFFF#000000##000000
##31B0551.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A04D
Deuteranopia (green-blind)
#A3965C
Tritanopia (blue-blind)
#00AC9B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b055;
/* rgb */ color: rgb(49, 176, 85);
/* oklch */ color: oklch(66.8% 0.170 148.6);
Tailwind
colors: {
  custom: {
    50: '#7bc987',
    500: '#31b055',
    950: '#000000',
  },
}
SCSS
$custom: #31b055;
$custom-light: #7bc987;
$custom-dark: #000000;
JSON
{
  "hex": "#31b055",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 85
  },
  "hsl": {
    "h": 137.008,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66845,
    "c": 0.16991,
    "h": 148.6
  },
  "luminance": 0.3236
}

Semantic roles & 50–950 ramp

primary
#31B055
secondary
#C578AF
accent
#48B5E0
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31B055

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

Preview Lab → · Contrast checker → · Palette generator →

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