#31A626#31A626

#31A626 is a light, vivid green. Relative luminance 0.281; OKLCH L 63.6% C 0.193 H 141.9°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#31A626
RGBrgb(49, 166, 38)
HSLhsl(115, 63%, 40%)
HSVhsv(115, 77%, 65%)
CMYKcmyk(70.5%, 0%, 77.1%, 34.9%)
CIE-LABlab(59.95, -55.65, 52.99)
CIE-LCHlch(59.95, 76.84, 136.40°)
OKLaboklab(63.64% -0.1516 0.1189)
OKLCHoklch(63.64% 0.193 141.9)
XYZxyz(15.2518, 28.0637, 6.4464)
Luminance0.2807 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A626 #9B26A6
analogous
#71A626 #31A626 #26A65B
triadic
#31A626 #2631A6 #A62631
tetradic
#31A626 #2671A6 #9B26A6 #A65B26
square
#31A626 #2671A6 #9B26A6 #A65B26
split-complementary
#31A626 #5B26A6 #A62671
monochromatic
#14420F #22741B #31A626 #45D138 #73DD6A

Accessibility & contrast

On white

3.18
#31A626 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#31A626 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A626
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A626#FFFFFF#000000##000000
##31A6261.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9606
Deuteranopia (green-blind)
#9D8D34
Tritanopia (blue-blind)
#12A18E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a626;
/* rgb */ color: rgb(49, 166, 38);
/* oklch */ color: oklch(63.6% 0.193 141.9);
Tailwind
colors: {
  custom: {
    50: '#7bc16a',
    500: '#31a626',
    950: '#000000',
  },
}
SCSS
$custom: #31a626;
$custom-light: #7bc16a;
$custom-dark: #000000;
JSON
{
  "hex": "#31a626",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 38
  },
  "hsl": {
    "h": 114.844,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.63644,
    "c": 0.19269,
    "h": 141.9
  },
  "luminance": 0.28065
}

Semantic roles & 50–950 ramp

primary
#31A626
secondary
#BB65C3
accent
#42E6D8
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #31A626

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

Preview Lab → · Contrast checker → · Palette generator →

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