#31B454#31B454

#31B454 is a light, vivid green. Relative luminance 0.339; OKLCH L 67.9% C 0.176 H 148.0°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#31B454
RGBrgb(49, 180, 84)
HSLhsl(136, 57%, 45%)
HSVhsv(136, 73%, 71%)
CMYKcmyk(72.8%, 0%, 53.3%, 29.4%)
CIE-LABlab(64.91, -55.44, 38.74)
CIE-LCHlch(64.91, 67.63, 145.06°)
OKLaboklab(67.89% -0.1492 0.0931)
OKLCHoklch(67.89% 0.176 148)
XYZxyz(19.1866, 33.9334, 13.9244)
Luminance0.3394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B454 #B43191
analogous
#4FB431 #31B454 #31B496
triadic
#31B454 #5431B4 #B45431
tetradic
#31B454 #314FB4 #B43191 #B49631
square
#31B454 #314FB4 #B43191 #B49631
split-complementary
#31B454 #9631B4 #B4314F
monochromatic
#175427 #24843E #31B454 #52D074 #82DD9B

Accessibility & contrast

On white

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

On black

7.79
#31B454 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B454
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B454#FFFFFF#000000##000000
##31B4541.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A44B
Deuteranopia (green-blind)
#A7995B
Tritanopia (blue-blind)
#00B09E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b454;
/* rgb */ color: rgb(49, 180, 84);
/* oklch */ color: oklch(67.9% 0.176 148.0);
Tailwind
colors: {
  custom: {
    50: '#7ccc86',
    500: '#31b454',
    950: '#000000',
  },
}
SCSS
$custom: #31b454;
$custom-light: #7ccc86;
$custom-dark: #000000;
JSON
{
  "hex": "#31b454",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 84
  },
  "hsl": {
    "h": 136.031,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67893,
    "c": 0.1759,
    "h": 148
  },
  "luminance": 0.33936
}

Semantic roles & 50–950 ramp

primary
#31B454
secondary
#C67BB2
accent
#47B8E0
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31B454

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

Preview Lab → · Contrast checker → · Palette generator →

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