#31A118#31A118

#31A118 is a light, vivid green. Relative luminance 0.262; OKLCH L 62.2% C 0.194 H 140.8°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#31A118
RGBrgb(49, 161, 24)
HSLhsl(109, 74%, 36%)
HSVhsv(109, 85%, 63%)
CMYKcmyk(69.6%, 0%, 85.1%, 36.9%)
CIE-LABlab(58.23, -54.81, 55.54)
CIE-LCHlch(58.23, 78.03, 134.62°)
OKLaboklab(62.2% -0.15 0.1223)
OKLCHoklch(62.2% 0.194 140.8)
XYZxyz(14.1756, 26.2072, 5.1754)
Luminance0.2621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A118 #8818A1
analogous
#76A118 #31A118 #18A144
triadic
#31A118 #1831A1 #A11831
tetradic
#31A118 #1876A1 #8818A1 #A14418
square
#31A118 #1876A1 #8818A1 #A14418
split-complementary
#31A118 #4418A1 #A11876
monochromatic
#113608 #216C10 #31A118 #41D620 #6AE54F

Accessibility & contrast

On white

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

On black

6.24
#31A118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A118
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A118#FFFFFF#000000##000000
##31A1181.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#98892B
Tritanopia (blue-blind)
#199C89
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #31a118;
/* rgb */ color: rgb(49, 161, 24);
/* oklch */ color: oklch(62.2% 0.194 140.8);
Tailwind
colors: {
  custom: {
    50: '#7abe63',
    500: '#31a118',
    950: '#000000',
  },
}
SCSS
$custom: #31a118;
$custom-light: #7abe63;
$custom-dark: #000000;
JSON
{
  "hex": "#31a118",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 24
  },
  "hsl": {
    "h": 109.051,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62201,
    "c": 0.19354,
    "h": 140.8
  },
  "luminance": 0.26209
}

Semantic roles & 50–950 ramp

primary
#31A118
secondary
#B14EC7
accent
#37F1CF
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #31A118

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

Preview Lab → · Contrast checker → · Palette generator →

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