#31A246#31A246

#31A246 is a light, vivid green. Relative luminance 0.269; OKLCH L 62.9% C 0.165 H 146.4°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#31A246
RGBrgb(49, 162, 70)
HSLhsl(131, 54%, 41%)
HSVhsv(131, 70%, 64%)
CMYKcmyk(69.8%, 0%, 56.8%, 36.5%)
CIE-LABlab(58.91, -50.96, 38.37)
CIE-LCHlch(58.91, 63.79, 143.02°)
OKLaboklab(62.88% -0.1375 0.0914)
OKLCHoklch(62.88% 0.165 146.4)
XYZxyz(15.2914, 26.9342, 10.1861)
Luminance0.2694 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A246 #A2318D
analogous
#55A231 #31A246 #31A27F
triadic
#31A246 #4631A2 #A24631
tetradic
#31A246 #3155A2 #A2318D #A27F31
square
#31A246 #3155A2 #A2318D #A27F31
split-complementary
#31A246 #7F31A2 #A23155
monochromatic
#15441D #237332 #31A246 #48C860 #77D689

Accessibility & contrast

On white

3.29
#31A246 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#31A246 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A246
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A246#FFFFFF#000000##000000
##31A2461.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4933D
Deuteranopia (green-blind)
#978A4D
Tritanopia (blue-blind)
#009E8E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a246;
/* rgb */ color: rgb(49, 162, 70);
/* oklch */ color: oklch(62.9% 0.165 146.4);
Tailwind
colors: {
  custom: {
    50: '#79bf7c',
    500: '#31a246',
    950: '#000000',
  },
}
SCSS
$custom: #31a246;
$custom-light: #79bf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#31a246",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 70
  },
  "hsl": {
    "h": 131.15,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.62878,
    "c": 0.1651,
    "h": 146.4
  },
  "luminance": 0.26936
}

Semantic roles & 50–950 ramp

primary
#31A246
secondary
#BE71B0
accent
#4BC2DD
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#0A120A
muted
#7C817C

Preview Lab

Preview with #31A246

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

Preview Lab → · Contrast checker → · Palette generator →

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