#31A026#31A026

#31A026 is a light, vivid green. Relative luminance 0.259; OKLCH L 62.0% C 0.186 H 141.8°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#31A026
RGBrgb(49, 160, 38)
HSLhsl(115, 62%, 39%)
HSVhsv(115, 76%, 63%)
CMYKcmyk(69.4%, 0%, 76.3%, 37.3%)
CIE-LABlab(57.97, -53.63, 51.05)
CIE-LCHlch(57.97, 74.04, 136.41°)
OKLaboklab(62.01% -0.1462 0.1149)
OKLCHoklch(62.01% 0.186 141.8)
XYZxyz(14.1865, 25.9330, 6.0913)
Luminance0.2594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A026 #9526A0
analogous
#6EA026 #31A026 #26A058
triadic
#31A026 #2631A0 #A02631
tetradic
#31A026 #266EA0 #9526A0 #A05826
square
#31A026 #266EA0 #9526A0 #A05826
split-complementary
#31A026 #5826A0 #A0266E
monochromatic
#133D0F #226F1A #31A026 #42CF34 #70DB66

Accessibility & contrast

On white

3.39
#31A026 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#31A026 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A026
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A026#FFFFFF#000000##000000
##31A0261.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4910B
Deuteranopia (green-blind)
#978833
Tritanopia (blue-blind)
#169B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #31a026;
/* rgb */ color: rgb(49, 160, 38);
/* oklch */ color: oklch(62.0% 0.186 141.8);
Tailwind
colors: {
  custom: {
    50: '#7abd69',
    500: '#31a026',
    950: '#000000',
  },
}
SCSS
$custom: #31a026;
$custom-light: #7abd69;
$custom-dark: #000000;
JSON
{
  "hex": "#31a026",
  "rgb": {
    "r": 49,
    "g": 160,
    "b": 38
  },
  "hsl": {
    "h": 114.59,
    "s": 61.616,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62008,
    "c": 0.18589,
    "h": 141.8
  },
  "luminance": 0.25935
}

Semantic roles & 50–950 ramp

primary
#31A026
secondary
#B861C0
accent
#43E5D6
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #31A026

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

Preview Lab → · Contrast checker → · Palette generator →

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