#31A730#31A730

#31A730 is a light, vivid green. Relative luminance 0.285; OKLCH L 64.0% C 0.188 H 142.9°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#31A730
RGBrgb(49, 167, 48)
HSLhsl(119, 55%, 42%)
HSVhsv(119, 71%, 65%)
CMYKcmyk(70.7%, 0%, 71.3%, 34.5%)
CIE-LABlab(60.34, -55.19, 49.73)
CIE-LCHlch(60.34, 74.29, 137.98°)
OKLaboklab(63.99% -0.1499 0.1134)
OKLCHoklch(63.99% 0.188 142.9)
XYZxyz(15.6179, 28.5021, 7.4741)
Luminance0.2850 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A730 #A630A7
analogous
#6CA730 #31A730 #30A76B
triadic
#31A730 #3031A7 #A73031
tetradic
#31A730 #306CA7 #A630A7 #A76B30
square
#31A730 #306CA7 #A630A7 #A76B30
split-complementary
#31A730 #6B30A7 #A7306C
monochromatic
#154815 #237722 #31A730 #4ACB49 #7AD879

Accessibility & contrast

On white

3.13
#31A730 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#31A730 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A730
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A730#FFFFFF#000000##000000
##31A7301.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB971D
Deuteranopia (green-blind)
#9D8E3C
Tritanopia (blue-blind)
#0CA28F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a730;
/* rgb */ color: rgb(49, 167, 48);
/* oklch */ color: oklch(64.0% 0.188 142.9);
Tailwind
colors: {
  custom: {
    50: '#7bc26f',
    500: '#31a730',
    950: '#000000',
  },
}
SCSS
$custom: #31a730;
$custom-light: #7bc26f;
$custom-dark: #000000;
JSON
{
  "hex": "#31a730",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 48
  },
  "hsl": {
    "h": 119.496,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.63992,
    "c": 0.18797,
    "h": 142.9
  },
  "luminance": 0.28504
}

Semantic roles & 50–950 ramp

primary
#31A730
secondary
#C072C1
accent
#49DFDD
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #31A730

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

Preview Lab → · Contrast checker → · Palette generator →

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