#31A32E#31A32E

#31A32E is a light, vivid green. Relative luminance 0.270; OKLCH L 62.9% C 0.185 H 142.7°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#31A32E
RGBrgb(49, 163, 46)
HSLhsl(118, 56%, 41%)
HSVhsv(118, 72%, 64%)
CMYKcmyk(69.9%, 0%, 71.8%, 36.1%)
CIE-LABlab(59.01, -54.00, 49.13)
CIE-LCHlch(59.01, 73.01, 137.70°)
OKLaboklab(62.89% -0.1468 0.1119)
OKLCHoklch(62.89% 0.185 142.7)
XYZxyz(14.8561, 27.0430, 7.0211)
Luminance0.2705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A32E #A02EA3
analogous
#6BA32E #31A32E #2EA365
triadic
#31A32E #2E31A3 #A32E31
tetradic
#31A32E #2E6BA3 #A02EA3 #A3652E
square
#31A32E #2E6BA3 #A02EA3 #A3652E
split-complementary
#31A32E #652EA3 #A32E6B
monochromatic
#144413 #237321 #31A32E #47CA44 #76D874

Accessibility & contrast

On white

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

On black

6.41
#31A32E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A32E
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A32E#FFFFFF#000000##000000
##31A32E1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941B
Deuteranopia (green-blind)
#998B3A
Tritanopia (blue-blind)
#119E8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a32e;
/* rgb */ color: rgb(49, 163, 46);
/* oklch */ color: oklch(62.9% 0.185 142.7);
Tailwind
colors: {
  custom: {
    50: '#7abf6e',
    500: '#31a32e',
    950: '#000000',
  },
}
SCSS
$custom: #31a32e;
$custom-light: #7abf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#31a32e",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 46
  },
  "hsl": {
    "h": 118.462,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.62888,
    "c": 0.18458,
    "h": 142.7
  },
  "luminance": 0.27045
}

Semantic roles & 50–950 ramp

primary
#31A32E
secondary
#BD6DBF
accent
#49DFDB
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #31A32E

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

Preview Lab → · Contrast checker → · Palette generator →

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