#31B260#31B260

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

Color values

HEX#31B260
RGBrgb(49, 178, 96)
HSLhsl(142, 57%, 45%)
HSVhsv(142, 72%, 70%)
CMYKcmyk(72.5%, 0%, 46.1%, 30.2%)
CIE-LABlab(64.43, -52.82, 32.09)
CIE-LCHlch(64.43, 61.80, 148.72°)
OKLaboklab(67.55% -0.1422 0.0787)
OKLCHoklch(67.55% 0.163 151)
XYZxyz(19.2967, 33.3361, 16.4816)
Luminance0.3334 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B260 #B23183
analogous
#43B231 #31B260 #31B2A0
triadic
#31B260 #6031B2 #B26031
tetradic
#31B260 #3143B2 #B23183 #B2A031
square
#31B260 #3143B2 #B23183 #B2A031
split-complementary
#31B260 #A031B2 #B23143
monochromatic
#17522C #248246 #31B260 #51CF7F #81DCA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B260#FFFFFF#000000##000000
##31B2601.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)
#B3A35A
Deuteranopia (green-blind)
#A39866
Tritanopia (blue-blind)
#00AF9E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b260;
/* rgb */ color: rgb(49, 178, 96);
/* oklch */ color: oklch(67.6% 0.163 151.0);
Tailwind
colors: {
  custom: {
    50: '#7bca8e',
    500: '#31b260',
    950: '#000000',
  },
}
SCSS
$custom: #31b260;
$custom-light: #7bca8e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b260",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 96
  },
  "hsl": {
    "h": 141.86,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67552,
    "c": 0.1625,
    "h": 151
  },
  "luminance": 0.33338
}

Semantic roles & 50–950 ramp

primary
#31B260
secondary
#C579AA
accent
#48A9E0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B260

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

Preview Lab → · Contrast checker → · Palette generator →

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