#31A930#31A930

#31A930 is a light, vivid green. Relative luminance 0.292; OKLCH L 64.5% C 0.190 H 142.9°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#31A930
RGBrgb(49, 169, 48)
HSLhsl(120, 56%, 43%)
HSVhsv(120, 72%, 66%)
CMYKcmyk(71%, 0%, 71.6%, 33.7%)
CIE-LABlab(60.99, -55.87, 50.41)
CIE-LCHlch(60.99, 75.25, 137.94°)
OKLaboklab(64.53% -0.1517 0.1149)
OKLCHoklch(64.53% 0.19 142.9)
XYZxyz(15.9871, 29.2406, 7.5972)
Luminance0.2924 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A930 #A830A9
analogous
#6EA930 #31A930 #30A96B
triadic
#31A930 #3031A9 #A93031
tetradic
#31A930 #306EA9 #A830A9 #A96B30
square
#31A930 #306EA9 #A830A9 #A96B30
split-complementary
#31A930 #6B30A9 #A9306E
monochromatic
#154A15 #237922 #31A930 #4CCC4A #7BD97A

Accessibility & contrast

On white

3.07
#31A930 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#31A930 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A930
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A930#FFFFFF#000000##000000
##31A9301.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991C
Deuteranopia (green-blind)
#9F903C
Tritanopia (blue-blind)
#09A491
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a930;
/* rgb */ color: rgb(49, 169, 48);
/* oklch */ color: oklch(64.5% 0.190 142.9);
Tailwind
colors: {
  custom: {
    50: '#7bc46f',
    500: '#31a930',
    950: '#000000',
  },
}
SCSS
$custom: #31a930;
$custom-light: #7bc46f;
$custom-dark: #000000;
JSON
{
  "hex": "#31a930",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 48
  },
  "hsl": {
    "h": 119.504,
    "s": 55.76,
    "l": 42.549
  },
  "oklch": {
    "l": 0.64534,
    "c": 0.19029,
    "h": 142.9
  },
  "luminance": 0.29242
}

Semantic roles & 50–950 ramp

primary
#31A930
secondary
#C173C2
accent
#49DFDE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31A930

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

Preview Lab → · Contrast checker → · Palette generator →

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