#31A331#31A331

#31A331 is a light, vivid green. Relative luminance 0.271; OKLCH L 62.9% C 0.183 H 143.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#31A331
RGBrgb(49, 163, 49)
HSLhsl(120, 54%, 42%)
HSVhsv(120, 70%, 64%)
CMYKcmyk(69.9%, 0%, 69.9%, 36.1%)
CIE-LABlab(59.04, -53.73, 47.96)
CIE-LCHlch(59.04, 72.02, 138.25°)
OKLaboklab(62.91% -0.1459 0.1099)
OKLCHoklch(62.91% 0.183 143)
XYZxyz(14.9173, 27.0675, 7.3435)
Luminance0.2707 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A331 #A331A3
analogous
#6AA331 #31A331 #31A36A
triadic
#31A331 #3131A3 #A33131
tetradic
#31A331 #316AA3 #A331A3 #A36A31
square
#31A331 #316AA3 #A331A3 #A36A31
split-complementary
#31A331 #6A31A3 #A3316A
monochromatic
#154515 #237423 #31A331 #49C849 #78D678

Accessibility & contrast

On white

3.27
#31A331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#31A331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A331
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A331#FFFFFF#000000##000000
##31A3311.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79420
Deuteranopia (green-blind)
#998B3C
Tritanopia (blue-blind)
#0F9E8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a331;
/* rgb */ color: rgb(49, 163, 49);
/* oklch */ color: oklch(62.9% 0.183 143.0);
Tailwind
colors: {
  custom: {
    50: '#7abf6f',
    500: '#31a331',
    950: '#000000',
  },
}
SCSS
$custom: #31a331;
$custom-light: #7abf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#31a331",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 120,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.62914,
    "c": 0.18261,
    "h": 143
  },
  "luminance": 0.27069
}

Semantic roles & 50–950 ramp

primary
#31A331
secondary
#BF71BF
accent
#4BDDDD
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #31A331

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

Preview Lab → · Contrast checker → · Palette generator →

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