#31B057#31B057

#31B057 is a light, vivid green. Relative luminance 0.324; OKLCH L 66.9% C 0.168 H 149.0°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#31B057
RGBrgb(49, 176, 87)
HSLhsl(138, 56%, 44%)
HSVhsv(138, 72%, 69%)
CMYKcmyk(72.2%, 0%, 50.6%, 31%)
CIE-LABlab(63.66, -53.56, 35.71)
CIE-LCHlch(63.66, 64.37, 146.30°)
OKLaboklab(66.88% -0.1441 0.0866)
OKLCHoklch(66.88% 0.168 149)
XYZxyz(18.5108, 32.3897, 14.2913)
Luminance0.3239 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B057 #B0318A
analogous
#4BB031 #31B057 #31B097
triadic
#31B057 #5731B0 #B05731
tetradic
#31B057 #314BB0 #B0318A #B09731
square
#31B057 #314BB0 #B0318A #B09731
split-complementary
#31B057 #9731B0 #B0314B
monochromatic
#165028 #24803F #31B057 #50CE76 #80DC9B

Accessibility & contrast

On white

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

On black

7.48
#31B057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B057
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B057#FFFFFF#000000##000000
##31B0571.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A150
Deuteranopia (green-blind)
#A2965D
Tritanopia (blue-blind)
#00AD9B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b057;
/* rgb */ color: rgb(49, 176, 87);
/* oklch */ color: oklch(66.9% 0.168 149.0);
Tailwind
colors: {
  custom: {
    50: '#7bc988',
    500: '#31b057',
    950: '#000000',
  },
}
SCSS
$custom: #31b057;
$custom-light: #7bc988;
$custom-dark: #000000;
JSON
{
  "hex": "#31b057",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 87
  },
  "hsl": {
    "h": 137.953,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66875,
    "c": 0.16812,
    "h": 149
  },
  "luminance": 0.32392
}

Semantic roles & 50–950 ramp

primary
#31B057
secondary
#C578AE
accent
#48B2E0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31B057

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

Preview Lab → · Contrast checker → · Palette generator →

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