#31A130#31A130

#31A130 is a light, vivid green. Relative luminance 0.264; OKLCH L 62.4% C 0.181 H 142.9°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#31A130
RGBrgb(49, 161, 48)
HSLhsl(119, 54%, 41%)
HSVhsv(119, 70%, 63%)
CMYKcmyk(69.6%, 0%, 70.2%, 36.9%)
CIE-LABlab(58.37, -53.13, 47.67)
CIE-LCHlch(58.37, 71.38, 138.10°)
OKLaboklab(62.36% -0.1443 0.1091)
OKLCHoklch(62.36% 0.181 142.9)
XYZxyz(14.5441, 26.3546, 7.1162)
Luminance0.2636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A130 #A030A1
analogous
#69A130 #31A130 #30A167
triadic
#31A130 #3031A1 #A13031
tetradic
#31A130 #3069A1 #A030A1 #A16730
square
#31A130 #3069A1 #A030A1 #A16730
split-complementary
#31A130 #6730A1 #A13069
monochromatic
#144314 #237222 #31A130 #47C846 #76D675

Accessibility & contrast

On white

3.35
#31A130 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#31A130 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A130
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A130#FFFFFF#000000##000000
##31A1301.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921F
Deuteranopia (green-blind)
#97893B
Tritanopia (blue-blind)
#129C8A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #31a130;
/* rgb */ color: rgb(49, 161, 48);
/* oklch */ color: oklch(62.4% 0.181 142.9);
Tailwind
colors: {
  custom: {
    50: '#79be6f',
    500: '#31a130',
    950: '#000000',
  },
}
SCSS
$custom: #31a130;
$custom-light: #79be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#31a130",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 48
  },
  "hsl": {
    "h": 119.469,
    "s": 54.067,
    "l": 40.98
  },
  "oklch": {
    "l": 0.62361,
    "c": 0.18092,
    "h": 142.9
  },
  "luminance": 0.26356
}

Semantic roles & 50–950 ramp

primary
#31A130
secondary
#BD6FBE
accent
#4ADDDC
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #31A130

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

Preview Lab → · Contrast checker → · Palette generator →

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