#31A63A#31A63A

#31A63A is a light, vivid green. Relative luminance 0.282; OKLCH L 63.8% C 0.180 H 144.2°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#31A63A
RGBrgb(49, 166, 58)
HSLhsl(125, 54%, 42%)
HSVhsv(125, 70%, 65%)
CMYKcmyk(70.5%, 0%, 65.1%, 34.9%)
CIE-LABlab(60.10, -53.86, 45.30)
CIE-LCHlch(60.10, 70.38, 139.93°)
OKLaboklab(63.82% -0.1458 0.1053)
OKLCHoklch(63.82% 0.18 144.2)
XYZxyz(15.6656, 28.2292, 8.6254)
Luminance0.2823 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A63A #A6319D
analogous
#63A631 #31A63A #31A674
triadic
#31A63A #3A31A6 #A63A31
tetradic
#31A63A #3163A6 #A6319D #A67431
square
#31A63A #3163A6 #A6319D #A67431
split-complementary
#31A63A #7431A6 #A63163
monochromatic
#154719 #237729 #31A63A #4ACA54 #7AD881

Accessibility & contrast

On white

3.16
#31A63A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#31A63A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A63A
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A63A#FFFFFF#000000##000000
##31A63A1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9972D
Deuteranopia (green-blind)
#9B8D44
Tritanopia (blue-blind)
#06A18F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a63a;
/* rgb */ color: rgb(49, 166, 58);
/* oklch */ color: oklch(63.8% 0.180 144.2);
Tailwind
colors: {
  custom: {
    50: '#7ac175',
    500: '#31a63a',
    950: '#000000',
  },
}
SCSS
$custom: #31a63a;
$custom-light: #7ac175;
$custom-dark: #000000;
JSON
{
  "hex": "#31a63a",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 58
  },
  "hsl": {
    "h": 124.615,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.63816,
    "c": 0.17982,
    "h": 144.2
  },
  "luminance": 0.28231
}

Semantic roles & 50–950 ramp

primary
#31A63A
secondary
#C073BA
accent
#4AD2DE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #31A63A

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

Preview Lab → · Contrast checker → · Palette generator →

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