#31B25B#31B25B

#31B25B is a light, vivid green. Relative luminance 0.332; OKLCH L 67.5% C 0.167 H 149.8°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#31B25B
RGBrgb(49, 178, 91)
HSLhsl(140, 57%, 45%)
HSVhsv(140, 72%, 70%)
CMYKcmyk(72.5%, 0%, 48.9%, 30.2%)
CIE-LABlab(64.36, -53.65, 34.56)
CIE-LCHlch(64.36, 63.82, 147.21°)
OKLaboklab(67.47% -0.1443 0.0841)
OKLCHoklch(67.47% 0.167 149.8)
XYZxyz(19.0738, 33.2469, 15.3076)
Luminance0.3325 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B25B #B23188
analogous
#48B231 #31B25B #31B29C
triadic
#31B25B #5B31B2 #B25B31
tetradic
#31B25B #3148B2 #B23188 #B29C31
square
#31B25B #3148B2 #B23188 #B29C31
split-complementary
#31B25B #9C31B2 #B23148
monochromatic
#17522A #248242 #31B25B #51CF7A #81DC9F

Accessibility & contrast

On white

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

On black

7.65
#31B25B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B25B
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B25B#FFFFFF#000000##000000
##31B25B1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b25b;
/* rgb */ color: rgb(49, 178, 91);
/* oklch */ color: oklch(67.5% 0.167 149.8);
Tailwind
colors: {
  custom: {
    50: '#7bca8b',
    500: '#31b25b',
    950: '#000000',
  },
}
SCSS
$custom: #31b25b;
$custom-light: #7bca8b;
$custom-dark: #000000;
JSON
{
  "hex": "#31b25b",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 91
  },
  "hsl": {
    "h": 139.535,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67469,
    "c": 0.16708,
    "h": 149.8
  },
  "luminance": 0.33249
}

Semantic roles & 50–950 ramp

primary
#31B25B
secondary
#C579AD
accent
#48AEE0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B25B

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

Preview Lab → · Contrast checker → · Palette generator →

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