#31B75A#31B75A

#31B75A is a light, vivid green. Relative luminance 0.353; OKLCH L 68.8% C 0.174 H 149.1°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#31B75A
RGBrgb(49, 183, 90)
HSLhsl(138, 58%, 45%)
HSVhsv(138, 73%, 72%)
CMYKcmyk(73.2%, 0%, 50.8%, 28.2%)
CIE-LABlab(65.95, -55.61, 37.04)
CIE-LCHlch(65.95, 66.82, 146.33°)
OKLaboklab(68.78% -0.1496 0.0897)
OKLCHoklch(68.78% 0.174 149.1)
XYZxyz(20.0440, 35.2558, 15.4196)
Luminance0.3526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B75A #B7318E
analogous
#4BB731 #31B75A #31B79D
triadic
#31B75A #5A31B7 #B75A31
tetradic
#31B75A #314BB7 #B7318E #B79D31
square
#31B75A #314BB7 #B7318E #B79D31
split-complementary
#31B75A #9D31B7 #B7314B
monochromatic
#17562B #248742 #31B75A #54D17A #84DEA0

Accessibility & contrast

On white

2.61
#31B75A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#31B75A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B75A
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B75A#FFFFFF#000000##000000
##31B75A1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A752
Deuteranopia (green-blind)
#A99C61
Tritanopia (blue-blind)
#00B3A1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b75a;
/* rgb */ color: rgb(49, 183, 90);
/* oklch */ color: oklch(68.8% 0.174 149.1);
Tailwind
colors: {
  custom: {
    50: '#7cce8a',
    500: '#31b75a',
    950: '#000000',
  },
}
SCSS
$custom: #31b75a;
$custom-light: #7cce8a;
$custom-dark: #000000;
JSON
{
  "hex": "#31b75a",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 90
  },
  "hsl": {
    "h": 138.358,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68777,
    "c": 0.17442,
    "h": 149.1
  },
  "luminance": 0.35258
}

Semantic roles & 50–950 ramp

primary
#31B75A
secondary
#C87CB1
accent
#47B2E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31B75A

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

Preview Lab → · Contrast checker → · Palette generator →

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