#31B939#31B939

#31B939 is a light, highly saturated green. Relative luminance 0.356; OKLCH L 68.9% C 0.203 H 143.7°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#31B939
RGBrgb(49, 185, 57)
HSLhsl(124, 58%, 46%)
HSVhsv(124, 74%, 73%)
CMYKcmyk(73.5%, 0%, 69.2%, 27.5%)
CIE-LABlab(66.25, -60.36, 52.39)
CIE-LCHlch(66.25, 79.93, 139.04°)
OKLaboklab(68.92% -0.1635 0.1201)
OKLCHoklch(68.92% 0.203 143.7)
XYZxyz(19.3529, 35.6441, 9.7302)
Luminance0.3565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B939 #B931B1
analogous
#6DB931 #31B939 #31B97D
triadic
#31B939 #3931B9 #B93931
tetradic
#31B939 #316DB9 #B931B1 #B97D31
square
#31B939 #316DB9 #B931B1 #B97D31
split-complementary
#31B939 #7D31B9 #B9316D
monochromatic
#17581B #24892A #31B939 #55D25D #86DF8B

Accessibility & contrast

On white

2.58
#31B939 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#31B939 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B939
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B939#FFFFFF#000000##000000
##31B9391.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA826
Deuteranopia (green-blind)
#AD9D45
Tritanopia (blue-blind)
#00B49F
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b939;
/* rgb */ color: rgb(49, 185, 57);
/* oklch */ color: oklch(68.9% 0.203 143.7);
Tailwind
colors: {
  custom: {
    50: '#7ecf76',
    500: '#31b939',
    950: '#000000',
  },
}
SCSS
$custom: #31b939;
$custom-light: #7ecf76;
$custom-dark: #000000;
JSON
{
  "hex": "#31b939",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 57
  },
  "hsl": {
    "h": 123.529,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.68915,
    "c": 0.20287,
    "h": 143.7
  },
  "luminance": 0.35646
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B939

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

Preview Lab → · Contrast checker → · Palette generator →

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