#31B546#31B546

#31B546 is a light, vivid green. Relative luminance 0.341; OKLCH L 68.0% C 0.189 H 145.5°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#31B546
RGBrgb(49, 181, 70)
HSLhsl(130, 57%, 45%)
HSVhsv(130, 73%, 71%)
CMYKcmyk(72.9%, 0%, 61.3%, 29%)
CIE-LABlab(65.07, -57.65, 45.55)
CIE-LCHlch(65.07, 73.47, 141.68°)
OKLaboklab(67.98% -0.1556 0.107)
OKLCHoklch(67.98% 0.189 145.5)
XYZxyz(18.8947, 34.1408, 11.3872)
Luminance0.3414 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B546 #B531A0
analogous
#5EB531 #31B546 #31B588
triadic
#31B546 #4631B5 #B54631
tetradic
#31B546 #315EB5 #B531A0 #B58831
square
#31B546 #315EB5 #B531A0 #B58831
split-complementary
#31B546 #8831B5 #B5315E
monochromatic
#175521 #248533 #31B546 #53D067 #83DD91

Accessibility & contrast

On white

2.68
#31B546 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#31B546 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B546
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B546#FFFFFF#000000##000000
##31B5461.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A43A
Deuteranopia (green-blind)
#A99A4F
Tritanopia (blue-blind)
#00B09D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b546;
/* rgb */ color: rgb(49, 181, 70);
/* oklch */ color: oklch(68.0% 0.189 145.5);
Tailwind
colors: {
  custom: {
    50: '#7dcc7d',
    500: '#31b546',
    950: '#000000',
  },
}
SCSS
$custom: #31b546;
$custom-light: #7dcc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#31b546",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 70
  },
  "hsl": {
    "h": 129.545,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.67979,
    "c": 0.1888,
    "h": 145.5
  },
  "luminance": 0.34143
}

Semantic roles & 50–950 ramp

primary
#31B546
secondary
#C77BBB
accent
#47C8E1
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B546

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

Preview Lab → · Contrast checker → · Palette generator →

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