#31A623#31A623

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

Color values

HEX#31A623
RGBrgb(49, 166, 35)
HSLhsl(114, 65%, 39%)
HSVhsv(114, 79%, 65%)
CMYKcmyk(70.5%, 0%, 78.9%, 34.9%)
CIE-LABlab(59.93, -55.85, 53.96)
CIE-LCHlch(59.93, 77.66, 135.99°)
OKLaboklab(63.63% -0.1523 0.1205)
OKLCHoklch(63.63% 0.194 141.6)
XYZxyz(15.2054, 28.0451, 6.2017)
Luminance0.2805 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A623 #9823A6
analogous
#73A623 #31A623 #23A657
triadic
#31A623 #2331A6 #A62331
tetradic
#31A623 #2373A6 #9823A6 #A65723
square
#31A623 #2373A6 #9823A6 #A65723
split-complementary
#31A623 #5723A6 #A62373
monochromatic
#13410E #227318 #31A623 #44D432 #72DF65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A623#FFFFFF#000000##000000
##31A6231.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)
#AA9600
Deuteranopia (green-blind)
#9D8D32
Tritanopia (blue-blind)
#13A18E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a623;
/* rgb */ color: rgb(49, 166, 35);
/* oklch */ color: oklch(63.6% 0.194 141.6);
Tailwind
colors: {
  custom: {
    50: '#7bc169',
    500: '#31a623',
    950: '#000000',
  },
}
SCSS
$custom: #31a623;
$custom-light: #7bc169;
$custom-dark: #000000;
JSON
{
  "hex": "#31a623",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 35
  },
  "hsl": {
    "h": 113.588,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63625,
    "c": 0.19424,
    "h": 141.6
  },
  "luminance": 0.28047
}

Semantic roles & 50–950 ramp

primary
#31A623
secondary
#B961C4
accent
#40E8D6
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #31A623

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

Preview Lab → · Contrast checker → · Palette generator →

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