#31B751#31B751

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

Color values

HEX#31B751
RGBrgb(49, 183, 81)
HSLhsl(134, 58%, 45%)
HSVhsv(134, 73%, 72%)
CMYKcmyk(73.2%, 0%, 55.7%, 28.2%)
CIE-LABlab(65.84, -56.92, 41.31)
CIE-LCHlch(65.84, 70.33, 144.03°)
OKLaboklab(68.65% -0.1533 0.0986)
OKLCHoklch(68.65% 0.182 147.2)
XYZxyz(19.6838, 35.1118, 13.5229)
Luminance0.3511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B751 #B73197
analogous
#54B731 #31B751 #31B794
triadic
#31B751 #5131B7 #B75131
tetradic
#31B751 #3154B7 #B73197 #B79431
square
#31B751 #3154B7 #B73197 #B79431
split-complementary
#31B751 #9431B7 #B73154
monochromatic
#175626 #24873C #31B751 #54D172 #84DE9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B751#FFFFFF#000000##000000
##31B7511.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)
#B9A747
Deuteranopia (green-blind)
#AA9C59
Tritanopia (blue-blind)
#00B3A0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b751;
/* rgb */ color: rgb(49, 183, 81);
/* oklch */ color: oklch(68.6% 0.182 147.2);
Tailwind
colors: {
  custom: {
    50: '#7dce84',
    500: '#31b751',
    950: '#000000',
  },
}
SCSS
$custom: #31b751;
$custom-light: #7dce84;
$custom-dark: #000000;
JSON
{
  "hex": "#31b751",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 134.328,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68648,
    "c": 0.18226,
    "h": 147.2
  },
  "luminance": 0.35114
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B751

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

Preview Lab → · Contrast checker → · Palette generator →

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