#31A32F#31A32F

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

Color values

HEX#31A32F
RGBrgb(49, 163, 47)
HSLhsl(119, 55%, 41%)
HSVhsv(119, 71%, 64%)
CMYKcmyk(69.9%, 0%, 71.2%, 36.1%)
CIE-LABlab(59.02, -53.91, 48.75)
CIE-LCHlch(59.02, 72.69, 137.88°)
OKLaboklab(62.9% -0.1465 0.1113)
OKLCHoklch(62.9% 0.184 142.8)
XYZxyz(14.8760, 27.0510, 7.1262)
Luminance0.2705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A32F #A12FA3
analogous
#6BA32F #31A32F #2FA367
triadic
#31A32F #2F31A3 #A32F31
tetradic
#31A32F #2F6BA3 #A12FA3 #A3672F
square
#31A32F #2F6BA3 #A12FA3 #A3672F
split-complementary
#31A32F #672FA3 #A32F6B
monochromatic
#144414 #237321 #31A32F #48CA46 #77D775

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A32F#FFFFFF#000000##000000
##31A32F1.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)
#A7941D
Deuteranopia (green-blind)
#998B3A
Tritanopia (blue-blind)
#109E8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a32f;
/* rgb */ color: rgb(49, 163, 47);
/* oklch */ color: oklch(62.9% 0.184 142.8);
Tailwind
colors: {
  custom: {
    50: '#7abf6e',
    500: '#31a32f',
    950: '#000000',
  },
}
SCSS
$custom: #31a32f;
$custom-light: #7abf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#31a32f",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 47
  },
  "hsl": {
    "h": 118.966,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.62896,
    "c": 0.18394,
    "h": 142.8
  },
  "luminance": 0.27053
}

Semantic roles & 50–950 ramp

primary
#31A32F
secondary
#BE6FBF
accent
#49DFDC
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #31A32F

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

Preview Lab → · Contrast checker → · Palette generator →

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