#31A117#31A117

#31A117 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#31A117
RGBrgb(49, 161, 23)
HSLhsl(109, 75%, 36%)
HSVhsv(109, 86%, 63%)
CMYKcmyk(69.6%, 0%, 85.7%, 36.9%)
CIE-LABlab(58.23, -54.86, 55.79)
CIE-LCHlch(58.23, 78.24, 134.52°)
OKLaboklab(62.2% -0.1502 0.1227)
OKLCHoklch(62.2% 0.194 140.8)
XYZxyz(14.1654, 26.2031, 5.1216)
Luminance0.2621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A117 #8717A1
analogous
#76A117 #31A117 #17A142
triadic
#31A117 #1731A1 #A11731
tetradic
#31A117 #1776A1 #8717A1 #A14217
square
#31A117 #1776A1 #8717A1 #A14217
split-complementary
#31A117 #4217A1 #A11776
monochromatic
#103608 #216B0F #31A117 #41D71F #6AE64D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A117#FFFFFF#000000##000000
##31A1171.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)
#98892A
Tritanopia (blue-blind)
#199C89
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #31a117;
/* rgb */ color: rgb(49, 161, 23);
/* oklch */ color: oklch(62.2% 0.194 140.8);
Tailwind
colors: {
  custom: {
    50: '#7abe63',
    500: '#31a117',
    950: '#000000',
  },
}
SCSS
$custom: #31a117;
$custom-light: #7abe63;
$custom-dark: #000000;
JSON
{
  "hex": "#31a117",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 23
  },
  "hsl": {
    "h": 108.696,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62197,
    "c": 0.19391,
    "h": 140.8
  },
  "luminance": 0.26205
}

Semantic roles & 50–950 ramp

primary
#31A117
secondary
#B04CC7
accent
#36F2CE
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #31A117

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

Preview Lab → · Contrast checker → · Palette generator →

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