#31B73B#31B73B

#31B73B is a light, vivid green. Relative luminance 0.348; OKLCH L 68.4% C 0.199 H 144.0°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#31B73B
RGBrgb(49, 183, 59)
HSLhsl(124, 58%, 45%)
HSVhsv(124, 73%, 72%)
CMYKcmyk(73.2%, 0%, 67.8%, 28.2%)
CIE-LABlab(65.62, -59.51, 50.91)
CIE-LCHlch(65.62, 78.32, 139.45°)
OKLaboklab(68.4% -0.1611 0.1172)
OKLCHoklch(68.4% 0.199 144)
XYZxyz(18.9883, 34.8336, 9.8597)
Luminance0.3484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B73B #B731AD
analogous
#6AB731 #31B73B #31B77E
triadic
#31B73B #3B31B7 #B73B31
tetradic
#31B73B #316AB7 #B731AD #B77E31
square
#31B73B #316AB7 #B731AD #B77E31
split-complementary
#31B73B #7E31B7 #B7316A
monochromatic
#17561C #24872B #31B73B #54D15D #84DE8B

Accessibility & contrast

On white

2.64
#31B73B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#31B73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B73B
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B73B#FFFFFF#000000##000000
##31B73B1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62A
Deuteranopia (green-blind)
#AB9B47
Tritanopia (blue-blind)
#00B29E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b73b;
/* rgb */ color: rgb(49, 183, 59);
/* oklch */ color: oklch(68.4% 0.199 144.0);
Tailwind
colors: {
  custom: {
    50: '#7ece77',
    500: '#31b73b',
    950: '#000000',
  },
}
SCSS
$custom: #31b73b;
$custom-light: #7ece77;
$custom-dark: #000000;
JSON
{
  "hex": "#31b73b",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 59
  },
  "hsl": {
    "h": 124.478,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68398,
    "c": 0.19923,
    "h": 144
  },
  "luminance": 0.34836
}

Semantic roles & 50–950 ramp

primary
#31B73B
secondary
#C87CC2
accent
#47D5E1
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #31B73B

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

Preview Lab → · Contrast checker → · Palette generator →

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