#31A031#31A031

#31A031 is a light, vivid green. Relative luminance 0.260; OKLCH L 62.1% C 0.179 H 143.0°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#31A031
RGBrgb(49, 160, 49)
HSLhsl(120, 53%, 41%)
HSVhsv(120, 69%, 63%)
CMYKcmyk(69.4%, 0%, 69.4%, 37.3%)
CIE-LABlab(58.05, -52.69, 46.92)
CIE-LCHlch(58.05, 70.55, 138.32°)
OKLaboklab(62.1% -0.1431 0.1077)
OKLCHoklch(62.1% 0.179 143)
XYZxyz(14.3909, 26.0148, 7.1681)
Luminance0.2602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A031 #A031A0
analogous
#68A031 #31A031 #31A068
triadic
#31A031 #3131A0 #A03131
tetradic
#31A031 #3168A0 #A031A0 #A06831
square
#31A031 #3168A0 #A031A0 #A06831
split-complementary
#31A031 #6831A0 #A03168
monochromatic
#144214 #237123 #31A031 #47C747 #76D576

Accessibility & contrast

On white

3.39
#31A031 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#31A031 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A031
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A031#FFFFFF#000000##000000
##31A0311.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39121
Deuteranopia (green-blind)
#96883C
Tritanopia (blue-blind)
#129B8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #31a031;
/* rgb */ color: rgb(49, 160, 49);
/* oklch */ color: oklch(62.1% 0.179 143.0);
Tailwind
colors: {
  custom: {
    50: '#79bd6f',
    500: '#31a031',
    950: '#000000',
  },
}
SCSS
$custom: #31a031;
$custom-light: #79bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#31a031",
  "rgb": {
    "r": 49,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 120,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.62097,
    "c": 0.17905,
    "h": 143
  },
  "luminance": 0.26016
}

Semantic roles & 50–950 ramp

primary
#31A031
secondary
#BD70BD
accent
#4BDDDD
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #31A031

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

Preview Lab → · Contrast checker → · Palette generator →

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