#31B259#31B259

#31B259 is a light, vivid green. Relative luminance 0.332; OKLCH L 67.4% C 0.169 H 149.3°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#31B259
RGBrgb(49, 178, 89)
HSLhsl(139, 57%, 45%)
HSVhsv(139, 72%, 70%)
CMYKcmyk(72.5%, 0%, 50%, 30.2%)
CIE-LABlab(64.33, -53.97, 35.54)
CIE-LCHlch(64.33, 64.62, 146.64°)
OKLaboklab(67.44% -0.1452 0.0863)
OKLCHoklch(67.44% 0.169 149.3)
XYZxyz(18.9887, 33.2129, 14.8592)
Luminance0.3322 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B259 #B2318A
analogous
#49B231 #31B259 #31B29A
triadic
#31B259 #5931B2 #B25931
tetradic
#31B259 #3149B2 #B2318A #B29A31
square
#31B259 #3149B2 #B2318A #B29A31
split-complementary
#31B259 #9A31B2 #B23149
monochromatic
#175229 #248241 #31B259 #51CF78 #81DC9D

Accessibility & contrast

On white

2.75
#31B259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#31B259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B259
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B259#FFFFFF#000000##000000
##31B2591.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A252
Deuteranopia (green-blind)
#A4985F
Tritanopia (blue-blind)
#00AF9D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b259;
/* rgb */ color: rgb(49, 178, 89);
/* oklch */ color: oklch(67.4% 0.169 149.3);
Tailwind
colors: {
  custom: {
    50: '#7bca89',
    500: '#31b259',
    950: '#000000',
  },
}
SCSS
$custom: #31b259;
$custom-light: #7bca89;
$custom-dark: #000000;
JSON
{
  "hex": "#31b259",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 89
  },
  "hsl": {
    "h": 138.605,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67437,
    "c": 0.1689,
    "h": 149.3
  },
  "luminance": 0.33215
}

Semantic roles & 50–950 ramp

primary
#31B259
secondary
#C579AE
accent
#48B1E0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B259

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

Preview Lab → · Contrast checker → · Palette generator →

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