#31A327#31A327

#31A327 is a light, vivid green. Relative luminance 0.270; OKLCH L 62.8% C 0.189 H 142.0°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#31A327
RGBrgb(49, 163, 39)
HSLhsl(115, 61%, 40%)
HSVhsv(115, 76%, 64%)
CMYKcmyk(69.9%, 0%, 76.1%, 36.1%)
CIE-LABlab(58.97, -54.57, 51.68)
CIE-LCHlch(58.97, 75.16, 136.56°)
OKLaboklab(62.83% -0.1487 0.1163)
OKLCHoklch(62.83% 0.189 142)
XYZxyz(14.7292, 26.9923, 6.3528)
Luminance0.2699 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A327 #9927A3
analogous
#6FA327 #31A327 #27A35B
triadic
#31A327 #2731A3 #A32731
tetradic
#31A327 #276FA3 #9927A3 #A35B27
square
#31A327 #276FA3 #9927A3 #A35B27
split-complementary
#31A327 #5B27A3 #A3276F
monochromatic
#13400F #22721B #31A327 #44CF38 #72DB69

Accessibility & contrast

On white

3.28
#31A327 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#31A327 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A327
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A327#FFFFFF#000000##000000
##31A3271.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7930C
Deuteranopia (green-blind)
#9A8A35
Tritanopia (blue-blind)
#149E8B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a327;
/* rgb */ color: rgb(49, 163, 39);
/* oklch */ color: oklch(62.8% 0.189 142.0);
Tailwind
colors: {
  custom: {
    50: '#7abf6a',
    500: '#31a327',
    950: '#000000',
  },
}
SCSS
$custom: #31a327;
$custom-light: #7abf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#31a327",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 39
  },
  "hsl": {
    "h": 115.161,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62834,
    "c": 0.18876,
    "h": 142
  },
  "luminance": 0.26994
}

Semantic roles & 50–950 ramp

primary
#31A327
secondary
#BA64C1
accent
#43E4D7
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #31A327

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

Preview Lab → · Contrast checker → · Palette generator →

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