#31B74B#31B74B

#31B74B is a light, vivid green. Relative luminance 0.350; OKLCH L 68.6% C 0.187 H 146.2°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#31B74B
RGBrgb(49, 183, 75)
HSLhsl(132, 58%, 45%)
HSVhsv(132, 73%, 72%)
CMYKcmyk(73.2%, 0%, 59%, 28.2%)
CIE-LABlab(65.77, -57.71, 44.06)
CIE-LCHlch(65.77, 72.61, 142.64°)
OKLaboklab(68.57% -0.1556 0.1042)
OKLCHoklch(68.57% 0.187 146.2)
XYZxyz(19.4687, 35.0257, 12.3898)
Luminance0.3503 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B74B #B7319D
analogous
#5AB731 #31B74B #31B78E
triadic
#31B74B #4B31B7 #B74B31
tetradic
#31B74B #315AB7 #B7319D #B78E31
square
#31B74B #315AB7 #B7319D #B78E31
split-complementary
#31B74B #8E31B7 #B7315A
monochromatic
#175623 #248737 #31B74B #54D16C #84DE96

Accessibility & contrast

On white

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

On black

8.01
#31B74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B74B
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B74B#FFFFFF#000000##000000
##31B74B1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA640
Deuteranopia (green-blind)
#AA9C54
Tritanopia (blue-blind)
#00B39F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b74b;
/* rgb */ color: rgb(49, 183, 75);
/* oklch */ color: oklch(68.6% 0.187 146.2);
Tailwind
colors: {
  custom: {
    50: '#7dce81',
    500: '#31b74b',
    950: '#000000',
  },
}
SCSS
$custom: #31b74b;
$custom-light: #7dce81;
$custom-dark: #000000;
JSON
{
  "hex": "#31b74b",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 75
  },
  "hsl": {
    "h": 131.642,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68571,
    "c": 0.18724,
    "h": 146.2
  },
  "luminance": 0.35028
}

Semantic roles & 50–950 ramp

primary
#31B74B
secondary
#C87CB9
accent
#47C3E1
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31B74B

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

Preview Lab → · Contrast checker → · Palette generator →

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