#31A124#31A124

#31A124 is a light, vivid green. Relative luminance 0.263; OKLCH L 62.3% C 0.188 H 141.7°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#31A124
RGBrgb(49, 161, 36)
HSLhsl(114, 63%, 39%)
HSVhsv(114, 78%, 63%)
CMYKcmyk(69.6%, 0%, 77.6%, 36.9%)
CIE-LABlab(58.29, -54.11, 52.05)
CIE-LCHlch(58.29, 75.08, 136.11°)
OKLaboklab(62.27% -0.1476 0.1167)
OKLCHoklch(62.27% 0.188 141.7)
XYZxyz(14.3291, 26.2686, 5.9839)
Luminance0.2627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A124 #9424A1
analogous
#6FA124 #31A124 #24A155
triadic
#31A124 #2431A1 #A12431
tetradic
#31A124 #246FA1 #9424A1 #A15524
square
#31A124 #246FA1 #9424A1 #A15524
split-complementary
#31A124 #5524A1 #A1246F
monochromatic
#133D0E #226F19 #31A124 #42D131 #70DC63

Accessibility & contrast

On white

3.36
#31A124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#31A124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A124
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A124#FFFFFF#000000##000000
##31A1241.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59204
Deuteranopia (green-blind)
#988932
Tritanopia (blue-blind)
#169C89
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #31a124;
/* rgb */ color: rgb(49, 161, 36);
/* oklch */ color: oklch(62.3% 0.188 141.7);
Tailwind
colors: {
  custom: {
    50: '#7abe68',
    500: '#31a124',
    950: '#000000',
  },
}
SCSS
$custom: #31a124;
$custom-light: #7abe68;
$custom-dark: #000000;
JSON
{
  "hex": "#31a124",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 36
  },
  "hsl": {
    "h": 113.76,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62268,
    "c": 0.18812,
    "h": 141.7
  },
  "luminance": 0.2627
}

Semantic roles & 50–950 ramp

primary
#31A124
secondary
#B75FC2
accent
#41E6D5
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #31A124

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

Preview Lab → · Contrast checker → · Palette generator →

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