#31B773#31B773

#31B773 is a light, vivid green. Relative luminance 0.358; OKLCH L 69.2% C 0.152 H 156.0°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#31B773
RGBrgb(49, 183, 115)
HSLhsl(150, 58%, 45%)
HSVhsv(150, 73%, 72%)
CMYKcmyk(73.2%, 0%, 37.2%, 28.2%)
CIE-LABlab(66.33, -51.21, 24.60)
CIE-LCHlch(66.33, 56.82, 154.34°)
OKLaboklab(69.22% -0.1384 0.0616)
OKLCHoklch(69.22% 0.152 156)
XYZxyz(21.2926, 35.7553, 21.9956)
Luminance0.3576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B773 #B73175
analogous
#32B731 #31B773 #31B7B6
triadic
#31B773 #7331B7 #B77331
tetradic
#31B773 #3132B7 #B73175 #B7B631
square
#31B773 #3132B7 #B73175 #B7B631
split-complementary
#31B773 #B631B7 #B73132
monochromatic
#175636 #248755 #31B773 #54D192 #84DEB1

Accessibility & contrast

On white

2.58
#31B773 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#31B773 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B773
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B773#FFFFFF#000000##000000
##31B7731.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A86F
Deuteranopia (green-blind)
#A69D77
Tritanopia (blue-blind)
#00B5A6
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b773;
/* rgb */ color: rgb(49, 183, 115);
/* oklch */ color: oklch(69.2% 0.152 156.0);
Tailwind
colors: {
  custom: {
    50: '#7cce9c',
    500: '#31b773',
    950: '#000000',
  },
}
SCSS
$custom: #31b773;
$custom-light: #7cce9c;
$custom-dark: #000000;
JSON
{
  "hex": "#31b773",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 115
  },
  "hsl": {
    "h": 149.552,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69221,
    "c": 0.15152,
    "h": 156
  },
  "luminance": 0.35758
}

Semantic roles & 50–950 ramp

primary
#31B773
secondary
#C87CA2
accent
#4795E1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #31B773

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

Preview Lab → · Contrast checker → · Palette generator →

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