#31B73F#31B73F

#31B73F is a light, vivid green. Relative luminance 0.349; OKLCH L 68.4% C 0.196 H 144.4°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#31B73F
RGBrgb(49, 183, 63)
HSLhsl(126, 58%, 45%)
HSVhsv(126, 73%, 72%)
CMYKcmyk(73.2%, 0%, 65.6%, 28.2%)
CIE-LABlab(65.65, -59.11, 49.28)
CIE-LCHlch(65.65, 76.95, 140.18°)
OKLaboklab(68.44% -0.1598 0.1142)
OKLCHoklch(68.44% 0.196 144.4)
XYZxyz(19.0960, 34.8767, 10.4271)
Luminance0.3488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B73F #B731A9
analogous
#66B731 #31B73F #31B782
triadic
#31B73F #3F31B7 #B73F31
tetradic
#31B73F #3166B7 #B731A9 #B78231
square
#31B73F #3166B7 #B731A9 #B78231
split-complementary
#31B73F #8231B7 #B73166
monochromatic
#17561E #24872E #31B73F #54D161 #84DE8E

Accessibility & contrast

On white

2.63
#31B73F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#31B73F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B73F
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B73F#FFFFFF#000000##000000
##31B73F1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b73f;
/* rgb */ color: rgb(49, 183, 63);
/* oklch */ color: oklch(68.4% 0.196 144.4);
Tailwind
colors: {
  custom: {
    50: '#7ece79',
    500: '#31b73f',
    950: '#000000',
  },
}
SCSS
$custom: #31b73f;
$custom-light: #7ece79;
$custom-dark: #000000;
JSON
{
  "hex": "#31b73f",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 63
  },
  "hsl": {
    "h": 126.269,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68437,
    "c": 0.19643,
    "h": 144.4
  },
  "luminance": 0.34879
}

Semantic roles & 50–950 ramp

primary
#31B73F
secondary
#C87CC0
accent
#47D1E1
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #31B73F

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

Preview Lab → · Contrast checker → · Palette generator →

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