#31B041#31B041

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

Color values

HEX#31B041
RGBrgb(49, 176, 65)
HSLhsl(128, 56%, 44%)
HSVhsv(128, 72%, 69%)
CMYKcmyk(72.2%, 0%, 63.1%, 31%)
CIE-LABlab(63.41, -56.52, 45.91)
CIE-LCHlch(63.41, 72.82, 140.91°)
OKLaboklab(66.59% -0.1527 0.1073)
OKLCHoklch(66.59% 0.187 144.9)
XYZxyz(17.7449, 32.0833, 10.2575)
Luminance0.3209 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B041 #B031A0
analogous
#61B031 #31B041 #31B081
triadic
#31B041 #4131B0 #B04131
tetradic
#31B041 #3161B0 #B031A0 #B08131
square
#31B041 #3161B0 #B031A0 #B08131
split-complementary
#31B041 #8131B0 #B03161
monochromatic
#16501E #24802F #31B041 #50CE60 #80DC8B

Accessibility & contrast

On white

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

On black

7.42
#31B041 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B041
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B041#FFFFFF#000000##000000
##31B0411.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A034
Deuteranopia (green-blind)
#A4964B
Tritanopia (blue-blind)
#00AB99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b041;
/* rgb */ color: rgb(49, 176, 65);
/* oklch */ color: oklch(66.6% 0.187 144.9);
Tailwind
colors: {
  custom: {
    50: '#7cc97a',
    500: '#31b041',
    950: '#000000',
  },
}
SCSS
$custom: #31b041;
$custom-light: #7cc97a;
$custom-dark: #000000;
JSON
{
  "hex": "#31b041",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 65
  },
  "hsl": {
    "h": 127.559,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66585,
    "c": 0.18663,
    "h": 144.9
  },
  "luminance": 0.32085
}

Semantic roles & 50–950 ramp

primary
#31B041
secondary
#C578BB
accent
#48CDE0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B041

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

Preview Lab → · Contrast checker → · Palette generator →

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