#31A32A#31A32A

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

Color values

HEX#31A32A
RGBrgb(49, 163, 42)
HSLhsl(117, 59%, 40%)
HSVhsv(117, 74%, 64%)
CMYKcmyk(69.9%, 0%, 74.2%, 36.1%)
CIE-LABlab(58.99, -54.34, 50.62)
CIE-LCHlch(58.99, 74.26, 137.03°)
OKLaboklab(62.86% -0.1479 0.1145)
OKLCHoklch(62.86% 0.187 142.2)
XYZxyz(14.7809, 27.0129, 6.6251)
Luminance0.2702 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A32A #9C2AA3
analogous
#6DA32A #31A32A #2AA360
triadic
#31A32A #2A31A3 #A32A31
tetradic
#31A32A #2A6DA3 #9C2AA3 #A3602A
square
#31A32A #2A6DA3 #9C2AA3 #A3602A
split-complementary
#31A32A #602AA3 #A32A6D
monochromatic
#144211 #22721D #31A32A #45CD3D #74DA6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A32A#FFFFFF#000000##000000
##31A32A1.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)
#A79313
Deuteranopia (green-blind)
#9A8A37
Tritanopia (blue-blind)
#139E8C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a32a;
/* rgb */ color: rgb(49, 163, 42);
/* oklch */ color: oklch(62.9% 0.187 142.2);
Tailwind
colors: {
  custom: {
    50: '#7abf6c',
    500: '#31a32a',
    950: '#000000',
  },
}
SCSS
$custom: #31a32a;
$custom-light: #7abf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#31a32a",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 42
  },
  "hsl": {
    "h": 116.529,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.62856,
    "c": 0.18704,
    "h": 142.2
  },
  "luminance": 0.27015
}

Semantic roles & 50–950 ramp

primary
#31A32A
secondary
#BB68C0
accent
#46E2D9
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #31A32A

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

Preview Lab → · Contrast checker → · Palette generator →

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