#31B839#31B839

#31B839 is a light, highly saturated green. Relative luminance 0.352; OKLCH L 68.6% C 0.202 H 143.7°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#31B839
RGBrgb(49, 184, 57)
HSLhsl(124, 58%, 46%)
HSVhsv(124, 73%, 72%)
CMYKcmyk(73.4%, 0%, 69%, 27.8%)
CIE-LABlab(65.93, -60.03, 52.05)
CIE-LCHlch(65.93, 79.45, 139.08°)
OKLaboklab(68.65% -0.1626 0.1194)
OKLCHoklch(68.65% 0.202 143.7)
XYZxyz(19.1444, 35.2272, 9.6607)
Luminance0.3523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B839 #B831B0
analogous
#6CB831 #31B839 #31B87D
triadic
#31B839 #3931B8 #B83931
tetradic
#31B839 #316CB8 #B831B0 #B87D31
square
#31B839 #316CB8 #B831B0 #B87D31
split-complementary
#31B839 #7D31B8 #B8316C
monochromatic
#17571B #24882A #31B839 #55D25C #85DE8A

Accessibility & contrast

On white

2.61
#31B839 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#31B839 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B839
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B839#FFFFFF#000000##000000
##31B8391.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA727
Deuteranopia (green-blind)
#AC9C45
Tritanopia (blue-blind)
#00B39E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b839;
/* rgb */ color: rgb(49, 184, 57);
/* oklch */ color: oklch(68.6% 0.202 143.7);
Tailwind
colors: {
  custom: {
    50: '#7ecf76',
    500: '#31b839',
    950: '#000000',
  },
}
SCSS
$custom: #31b839;
$custom-light: #7ecf76;
$custom-dark: #000000;
JSON
{
  "hex": "#31b839",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 57
  },
  "hsl": {
    "h": 123.556,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68647,
    "c": 0.20172,
    "h": 143.7
  },
  "luminance": 0.35229
}

Semantic roles & 50–950 ramp

primary
#31B839
secondary
#C87DC4
accent
#47D8E1
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #31B839

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

Preview Lab → · Contrast checker → · Palette generator →

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