#31B261#31B261

#31B261 is a light, vivid green. Relative luminance 0.334; OKLCH L 67.6% C 0.162 H 151.3°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#31B261
RGBrgb(49, 178, 97)
HSLhsl(142, 57%, 45%)
HSVhsv(142, 72%, 70%)
CMYKcmyk(72.5%, 0%, 45.5%, 30.2%)
CIE-LABlab(64.45, -52.65, 31.59)
CIE-LCHlch(64.45, 61.40, 149.04°)
OKLaboklab(67.57% -0.1417 0.0776)
OKLCHoklch(67.57% 0.162 151.3)
XYZxyz(19.3430, 33.3546, 16.7256)
Luminance0.3336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B261 #B23182
analogous
#41B231 #31B261 #31B2A2
triadic
#31B261 #6131B2 #B26131
tetradic
#31B261 #3141B2 #B23182 #B2A231
square
#31B261 #3141B2 #B23182 #B2A231
split-complementary
#31B261 #A231B2 #B23141
monochromatic
#17522D #248247 #31B261 #51CF80 #81DCA3

Accessibility & contrast

On white

2.74
#31B261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#31B261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B261
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B261#FFFFFF#000000##000000
##31B2611.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A35B
Deuteranopia (green-blind)
#A39867
Tritanopia (blue-blind)
#00AF9E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b261;
/* rgb */ color: rgb(49, 178, 97);
/* oklch */ color: oklch(67.6% 0.162 151.3);
Tailwind
colors: {
  custom: {
    50: '#7bca8f',
    500: '#31b261',
    950: '#000000',
  },
}
SCSS
$custom: #31b261;
$custom-light: #7bca8f;
$custom-dark: #000000;
JSON
{
  "hex": "#31b261",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 97
  },
  "hsl": {
    "h": 142.326,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67569,
    "c": 0.16158,
    "h": 151.3
  },
  "luminance": 0.33357
}

Semantic roles & 50–950 ramp

primary
#31B261
secondary
#C579A9
accent
#48A7E0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B261

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

Preview Lab → · Contrast checker → · Palette generator →

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