#31B74F#31B74F

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

Color values

HEX#31B74F
RGBrgb(49, 183, 79)
HSLhsl(133, 58%, 45%)
HSVhsv(133, 73%, 72%)
CMYKcmyk(73.2%, 0%, 56.8%, 28.2%)
CIE-LABlab(65.81, -57.19, 42.24)
CIE-LCHlch(65.81, 71.10, 143.55°)
OKLaboklab(68.62% -0.154 0.1005)
OKLCHoklch(68.62% 0.184 146.9)
XYZxyz(19.6099, 35.0822, 13.1337)
Luminance0.3508 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B74F #B73199
analogous
#56B731 #31B74F #31B792
triadic
#31B74F #4F31B7 #B74F31
tetradic
#31B74F #3156B7 #B73199 #B79231
square
#31B74F #3156B7 #B73199 #B79231
split-complementary
#31B74F #9231B7 #B73156
monochromatic
#175625 #24873A #31B74F #54D170 #84DE98

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B74F#FFFFFF#000000##000000
##31B74F1.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)
#B9A645
Deuteranopia (green-blind)
#AA9C57
Tritanopia (blue-blind)
#00B3A0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b74f;
/* rgb */ color: rgb(49, 183, 79);
/* oklch */ color: oklch(68.6% 0.184 146.9);
Tailwind
colors: {
  custom: {
    50: '#7dce83',
    500: '#31b74f',
    950: '#000000',
  },
}
SCSS
$custom: #31b74f;
$custom-light: #7dce83;
$custom-dark: #000000;
JSON
{
  "hex": "#31b74f",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 79
  },
  "hsl": {
    "h": 133.433,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68621,
    "c": 0.18394,
    "h": 146.9
  },
  "luminance": 0.35084
}

Semantic roles & 50–950 ramp

primary
#31B74F
secondary
#C87CB7
accent
#47BEE1
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31B74F

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

Preview Lab → · Contrast checker → · Palette generator →

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