#31A726#31A726

#31A726 is a light, vivid green. Relative luminance 0.284; OKLCH L 63.9% C 0.194 H 141.9°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#31A726
RGBrgb(49, 167, 38)
HSLhsl(115, 63%, 40%)
HSVhsv(115, 77%, 65%)
CMYKcmyk(70.7%, 0%, 77.2%, 34.5%)
CIE-LABlab(60.27, -55.98, 53.31)
CIE-LCHlch(60.27, 77.31, 136.40°)
OKLaboklab(63.92% -0.1525 0.1196)
OKLCHoklch(63.92% 0.194 141.9)
XYZxyz(15.4343, 28.4287, 6.5072)
Luminance0.2843 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A726 #9C26A7
analogous
#71A726 #31A726 #26A75C
triadic
#31A726 #2631A7 #A72631
tetradic
#31A726 #2671A7 #9C26A7 #A75C26
square
#31A726 #2671A7 #9C26A7 #A75C26
split-complementary
#31A726 #5C26A7 #A72671
monochromatic
#14430F #22751B #31A726 #45D238 #74DD6A

Accessibility & contrast

On white

3.14
#31A726 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#31A726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A726
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A726#FFFFFF#000000##000000
##31A7261.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9706
Deuteranopia (green-blind)
#9D8E35
Tritanopia (blue-blind)
#11A28F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a726;
/* rgb */ color: rgb(49, 167, 38);
/* oklch */ color: oklch(63.9% 0.194 141.9);
Tailwind
colors: {
  custom: {
    50: '#7bc26a',
    500: '#31a726',
    950: '#000000',
  },
}
SCSS
$custom: #31a726;
$custom-light: #7bc26a;
$custom-dark: #000000;
JSON
{
  "hex": "#31a726",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 38
  },
  "hsl": {
    "h": 114.884,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63916,
    "c": 0.19382,
    "h": 141.9
  },
  "luminance": 0.2843
}

Semantic roles & 50–950 ramp

primary
#31A726
secondary
#BB65C3
accent
#42E6D8
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #31A726

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

Preview Lab → · Contrast checker → · Palette generator →

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