#31B750#31B750

#31B750 is a light, vivid green. Relative luminance 0.351; OKLCH L 68.6% C 0.183 H 147.1°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#31B750
RGBrgb(49, 183, 80)
HSLhsl(134, 58%, 45%)
HSVhsv(134, 73%, 72%)
CMYKcmyk(73.2%, 0%, 56.3%, 28.2%)
CIE-LABlab(65.82, -57.06, 41.78)
CIE-LCHlch(65.82, 70.72, 143.79°)
OKLaboklab(68.64% -0.1537 0.0996)
OKLCHoklch(68.64% 0.183 147.1)
XYZxyz(19.6466, 35.0969, 13.3268)
Luminance0.3510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B750 #B73198
analogous
#55B731 #31B750 #31B793
triadic
#31B750 #5031B7 #B75031
tetradic
#31B750 #3155B7 #B73198 #B79331
square
#31B750 #3155B7 #B73198 #B79331
split-complementary
#31B750 #9331B7 #B73155
monochromatic
#175626 #24873B #31B750 #54D171 #84DE99

Accessibility & contrast

On white

2.62
#31B750 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#31B750 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B750
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B750#FFFFFF#000000##000000
##31B7501.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A646
Deuteranopia (green-blind)
#AA9C58
Tritanopia (blue-blind)
#00B3A0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b750;
/* rgb */ color: rgb(49, 183, 80);
/* oklch */ color: oklch(68.6% 0.183 147.1);
Tailwind
colors: {
  custom: {
    50: '#7dce84',
    500: '#31b750',
    950: '#000000',
  },
}
SCSS
$custom: #31b750;
$custom-light: #7dce84;
$custom-dark: #000000;
JSON
{
  "hex": "#31b750",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 80
  },
  "hsl": {
    "h": 133.881,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68635,
    "c": 0.18311,
    "h": 147.1
  },
  "luminance": 0.35099
}

Semantic roles & 50–950 ramp

primary
#31B750
secondary
#C87CB6
accent
#47BDE1
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31B750

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

Preview Lab → · Contrast checker → · Palette generator →

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