#31B73D#31B73D

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

Color values

HEX#31B73D
RGBrgb(49, 183, 61)
HSLhsl(125, 58%, 45%)
HSVhsv(125, 73%, 72%)
CMYKcmyk(73.2%, 0%, 66.7%, 28.2%)
CIE-LABlab(65.64, -59.31, 50.10)
CIE-LCHlch(65.64, 77.64, 139.81°)
OKLaboklab(68.42% -0.1605 0.1158)
OKLCHoklch(68.42% 0.198 144.2)
XYZxyz(19.0412, 34.8547, 10.1381)
Luminance0.3486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B73D #B731AB
analogous
#68B731 #31B73D #31B780
triadic
#31B73D #3D31B7 #B73D31
tetradic
#31B73D #3168B7 #B731AB #B78031
square
#31B73D #3168B7 #B731AB #B78031
split-complementary
#31B73D #8031B7 #B73168
monochromatic
#17561D #24872D #31B73D #54D15F #84DE8C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B73D#FFFFFF#000000##000000
##31B73D1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b73d;
/* rgb */ color: rgb(49, 183, 61);
/* oklch */ color: oklch(68.4% 0.198 144.2);
Tailwind
colors: {
  custom: {
    50: '#7ece78',
    500: '#31b73d',
    950: '#000000',
  },
}
SCSS
$custom: #31b73d;
$custom-light: #7ece78;
$custom-dark: #000000;
JSON
{
  "hex": "#31b73d",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 61
  },
  "hsl": {
    "h": 125.373,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68417,
    "c": 0.19785,
    "h": 144.2
  },
  "luminance": 0.34857
}

Semantic roles & 50–950 ramp

primary
#31B73D
secondary
#C87CC1
accent
#47D3E1
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #31B73D

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

Preview Lab → · Contrast checker → · Palette generator →

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