#31AE26#31AE26

#31AE26 is a light, highly saturated green. Relative luminance 0.311; OKLCH L 65.8% C 0.202 H 142.0°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#31AE26
RGBrgb(49, 174, 38)
HSLhsl(115, 64%, 42%)
HSVhsv(115, 78%, 68%)
CMYKcmyk(71.8%, 0%, 78.2%, 31.8%)
CIE-LABlab(62.56, -58.29, 55.53)
CIE-LCHlch(62.56, 80.51, 136.39°)
OKLaboklab(65.82% -0.1588 0.1242)
OKLCHoklch(65.82% 0.202 142)
XYZxyz(16.7516, 31.0632, 6.9463)
Luminance0.3106 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AE26 #A326AE
analogous
#75AE26 #31AE26 #26AE5F
triadic
#31AE26 #2631AE #AE2631
tetradic
#31AE26 #2675AE #A326AE #AE5F26
square
#31AE26 #2675AE #A326AE #AE5F26
split-complementary
#31AE26 #5F26AE #AE2675
monochromatic
#154A10 #237C1B #31AE26 #49D53D #78E06F

Accessibility & contrast

On white

2.91
#31AE26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#31AE26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AE26
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AE26#FFFFFF#000000##000000
##31AE261.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#A49436
Tritanopia (blue-blind)
#09A995
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ae26;
/* rgb */ color: rgb(49, 174, 38);
/* oklch */ color: oklch(65.8% 0.202 142.0);
Tailwind
colors: {
  custom: {
    50: '#7dc76b',
    500: '#31ae26',
    950: '#000000',
  },
}
SCSS
$custom: #31ae26;
$custom-light: #7dc76b;
$custom-dark: #000000;
JSON
{
  "hex": "#31ae26",
  "rgb": {
    "r": 49,
    "g": 174,
    "b": 38
  },
  "hsl": {
    "h": 115.147,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65815,
    "c": 0.20158,
    "h": 142
  },
  "luminance": 0.31065
}

Semantic roles & 50–950 ramp

primary
#31AE26
secondary
#BF6AC6
accent
#41E7DA
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31AE26

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

Preview Lab → · Contrast checker → · Palette generator →

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