#31B244#31B244

#31B244 is a light, vivid green. Relative luminance 0.329; OKLCH L 67.2% C 0.187 H 145.3°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#31B244
RGBrgb(49, 178, 68)
HSLhsl(129, 57%, 45%)
HSVhsv(129, 72%, 70%)
CMYKcmyk(72.5%, 0%, 61.8%, 30.2%)
CIE-LABlab(64.09, -56.86, 45.33)
CIE-LCHlch(64.09, 72.72, 141.43°)
OKLaboklab(67.15% -0.1535 0.1063)
OKLCHoklch(67.15% 0.187 145.3)
XYZxyz(18.2292, 32.9091, 10.8591)
Luminance0.3291 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B244 #B2319F
analogous
#5FB231 #31B244 #31B285
triadic
#31B244 #4431B2 #B24431
tetradic
#31B244 #315FB2 #B2319F #B28531
square
#31B244 #315FB2 #B2319F #B28531
split-complementary
#31B244 #8531B2 #B2315F
monochromatic
#17521F #248232 #31B244 #51CF64 #81DC8F

Accessibility & contrast

On white

2.77
#31B244 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#31B244 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B244
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B244#FFFFFF#000000##000000
##31B2441.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A238
Deuteranopia (green-blind)
#A6974D
Tritanopia (blue-blind)
#00AD9B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b244;
/* rgb */ color: rgb(49, 178, 68);
/* oklch */ color: oklch(67.2% 0.187 145.3);
Tailwind
colors: {
  custom: {
    50: '#7cca7c',
    500: '#31b244',
    950: '#000000',
  },
}
SCSS
$custom: #31b244;
$custom-light: #7cca7c;
$custom-dark: #000000;
JSON
{
  "hex": "#31b244",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 68
  },
  "hsl": {
    "h": 128.837,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67154,
    "c": 0.18673,
    "h": 145.3
  },
  "luminance": 0.32911
}

Semantic roles & 50–950 ramp

primary
#31B244
secondary
#C579BA
accent
#48CAE0
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B244

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

Preview Lab → · Contrast checker → · Palette generator →

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