#31B455#31B455

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

Color values

HEX#31B455
RGBrgb(49, 180, 85)
HSLhsl(136, 57%, 45%)
HSVhsv(136, 73%, 71%)
CMYKcmyk(72.8%, 0%, 52.8%, 29.4%)
CIE-LABlab(64.92, -55.29, 38.26)
CIE-LCHlch(64.92, 67.24, 145.32°)
OKLaboklab(67.91% -0.1488 0.0921)
OKLCHoklch(67.91% 0.175 148.2)
XYZxyz(19.2261, 33.9492, 14.1322)
Luminance0.3395 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B455 #B43190
analogous
#4EB431 #31B455 #31B497
triadic
#31B455 #5531B4 #B45531
tetradic
#31B455 #314EB4 #B43190 #B49731
square
#31B455 #314EB4 #B43190 #B49731
split-complementary
#31B455 #9731B4 #B4314E
monochromatic
#175428 #24843E #31B455 #52D075 #82DD9B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B455#FFFFFF#000000##000000
##31B4551.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)
#B6A44D
Deuteranopia (green-blind)
#A6995C
Tritanopia (blue-blind)
#00B09E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b455;
/* rgb */ color: rgb(49, 180, 85);
/* oklch */ color: oklch(67.9% 0.175 148.2);
Tailwind
colors: {
  custom: {
    50: '#7ccc87',
    500: '#31b455',
    950: '#000000',
  },
}
SCSS
$custom: #31b455;
$custom-light: #7ccc87;
$custom-dark: #000000;
JSON
{
  "hex": "#31b455",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 85
  },
  "hsl": {
    "h": 136.489,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67908,
    "c": 0.17503,
    "h": 148.2
  },
  "luminance": 0.33951
}

Semantic roles & 50–950 ramp

primary
#31B455
secondary
#C67BB1
accent
#47B6E0
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31B455

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

Preview Lab → · Contrast checker → · Palette generator →

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