#31B746#31B746

#31B746 is a light, vivid green. Relative luminance 0.350; OKLCH L 68.5% C 0.191 H 145.4°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#31B746
RGBrgb(49, 183, 70)
HSLhsl(129, 58%, 45%)
HSVhsv(129, 73%, 72%)
CMYKcmyk(73.2%, 0%, 61.7%, 28.2%)
CIE-LABlab(65.72, -58.32, 46.29)
CIE-LCHlch(65.72, 74.46, 141.56°)
OKLaboklab(68.51% -0.1574 0.1085)
OKLCHoklch(68.51% 0.191 145.4)
XYZxyz(19.3043, 34.9599, 11.5237)
Luminance0.3496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B746 #B731A2
analogous
#5FB731 #31B746 #31B789
triadic
#31B746 #4631B7 #B74631
tetradic
#31B746 #315FB7 #B731A2 #B78931
square
#31B746 #315FB7 #B731A2 #B78931
split-complementary
#31B746 #8931B7 #B7315F
monochromatic
#175621 #248734 #31B746 #54D168 #84DE92

Accessibility & contrast

On white

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

On black

7.99
#31B746 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B746
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B746#FFFFFF#000000##000000
##31B7461.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA639
Deuteranopia (green-blind)
#AB9B50
Tritanopia (blue-blind)
#00B29F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b746;
/* rgb */ color: rgb(49, 183, 70);
/* oklch */ color: oklch(68.5% 0.191 145.4);
Tailwind
colors: {
  custom: {
    50: '#7dce7d',
    500: '#31b746',
    950: '#000000',
  },
}
SCSS
$custom: #31b746;
$custom-light: #7dce7d;
$custom-dark: #000000;
JSON
{
  "hex": "#31b746",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 70
  },
  "hsl": {
    "h": 129.403,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68512,
    "c": 0.1912,
    "h": 145.4
  },
  "luminance": 0.34962
}

Semantic roles & 50–950 ramp

primary
#31B746
secondary
#C87CBC
accent
#47C9E1
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31B746

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

Preview Lab → · Contrast checker → · Palette generator →

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