#31B368#31B368

#31B368 is a light, vivid green. Relative luminance 0.339; OKLCH L 68.0% C 0.156 H 153.2°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#31B368
RGBrgb(49, 179, 104)
HSLhsl(145, 57%, 45%)
HSVhsv(145, 73%, 70%)
CMYKcmyk(72.6%, 0%, 41.9%, 29.8%)
CIE-LABlab(64.88, -51.78, 28.49)
CIE-LCHlch(64.88, 59.11, 151.18°)
OKLaboklab(67.96% -0.1395 0.0706)
OKLCHoklch(67.96% 0.156 153.2)
XYZxyz(19.8836, 33.8904, 18.5876)
Luminance0.3389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B368 #B3317C
analogous
#3BB331 #31B368 #31B3A9
triadic
#31B368 #6831B3 #B36831
tetradic
#31B368 #313BB3 #B3317C #B3A931
square
#31B368 #313BB3 #B3317C #B3A931
split-complementary
#31B368 #A931B3 #B3313B
monochromatic
#175330 #24834C #31B368 #52D087 #82DDA8

Accessibility & contrast

On white

2.70
#31B368 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#31B368 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B368
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B368#FFFFFF#000000##000000
##31B3681.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A463
Deuteranopia (green-blind)
#A3996D
Tritanopia (blue-blind)
#00B1A0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b368;
/* rgb */ color: rgb(49, 179, 104);
/* oklch */ color: oklch(68.0% 0.156 153.2);
Tailwind
colors: {
  custom: {
    50: '#7bcb94',
    500: '#31b368',
    950: '#000000',
  },
}
SCSS
$custom: #31b368;
$custom-light: #7bcb94;
$custom-dark: #000000;
JSON
{
  "hex": "#31b368",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 104
  },
  "hsl": {
    "h": 145.385,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67958,
    "c": 0.1564,
    "h": 153.2
  },
  "luminance": 0.33893
}

Semantic roles & 50–950 ramp

primary
#31B368
secondary
#C67AA6
accent
#48A0E0
background
#F8FCF9
surface
#EFF9F1
border
#CAD2CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #31B368

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

Preview Lab → · Contrast checker → · Palette generator →

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