#31B045#31B045

#31B045 is a light, vivid green. Relative luminance 0.321; OKLCH L 66.6% C 0.183 H 145.5°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#31B045
RGBrgb(49, 176, 69)
HSLhsl(129, 56%, 44%)
HSVhsv(129, 72%, 69%)
CMYKcmyk(72.2%, 0%, 60.8%, 31%)
CIE-LABlab(63.45, -56.05, 44.15)
CIE-LCHlch(63.45, 71.35, 141.77°)
OKLaboklab(66.63% -0.1513 0.1039)
OKLCHoklch(66.63% 0.184 145.5)
XYZxyz(17.8649, 32.1313, 10.8895)
Luminance0.3213 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B045 #B0319C
analogous
#5DB031 #31B045 #31B085
triadic
#31B045 #4531B0 #B04531
tetradic
#31B045 #315DB0 #B0319C #B08531
square
#31B045 #315DB0 #B0319C #B08531
split-complementary
#31B045 #8531B0 #B0315D
monochromatic
#16501F #248032 #31B045 #50CE64 #80DC8E

Accessibility & contrast

On white

2.83
#31B045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#31B045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B045
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B045#FFFFFF#000000##000000
##31B0451.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A039
Deuteranopia (green-blind)
#A4964E
Tritanopia (blue-blind)
#00AC99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b045;
/* rgb */ color: rgb(49, 176, 69);
/* oklch */ color: oklch(66.6% 0.183 145.5);
Tailwind
colors: {
  custom: {
    50: '#7cc97c',
    500: '#31b045',
    950: '#000000',
  },
}
SCSS
$custom: #31b045;
$custom-light: #7cc97c;
$custom-dark: #000000;
JSON
{
  "hex": "#31b045",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 129.449,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66631,
    "c": 0.1835,
    "h": 145.5
  },
  "luminance": 0.32133
}

Semantic roles & 50–950 ramp

primary
#31B045
secondary
#C578B9
accent
#48C8E0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B045

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

Preview Lab → · Contrast checker → · Palette generator →

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