#31AC2A#31AC2A

#31AC2A is a light, vivid green. Relative luminance 0.303; OKLCH L 65.3% C 0.197 H 142.3°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#31AC2A
RGBrgb(49, 172, 42)
HSLhsl(117, 61%, 42%)
HSVhsv(117, 76%, 67%)
CMYKcmyk(71.5%, 0%, 75.6%, 32.5%)
CIE-LABlab(61.93, -57.35, 53.58)
CIE-LCHlch(61.93, 78.48, 136.95°)
OKLaboklab(65.3% -0.156 0.1207)
OKLCHoklch(65.3% 0.197 142.3)
XYZxyz(16.4361, 30.3234, 7.1768)
Luminance0.3033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC2A #A52AAC
analogous
#72AC2A #31AC2A #2AAC64
triadic
#31AC2A #2A31AC #AC2A31
tetradic
#31AC2A #2A72AC #A52AAC #AC642A
square
#31AC2A #2A72AC #A52AAC #AC642A
split-complementary
#31AC2A #642AAC #AC2A72
monochromatic
#154A12 #237B1E #31AC2A #4AD142 #79DD73

Accessibility & contrast

On white

2.97
#31AC2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#31AC2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC2A
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC2A#FFFFFF#000000##000000
##31AC2A1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C0E
Deuteranopia (green-blind)
#A29238
Tritanopia (blue-blind)
#09A793
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ac2a;
/* rgb */ color: rgb(49, 172, 42);
/* oklch */ color: oklch(65.3% 0.197 142.3);
Tailwind
colors: {
  custom: {
    50: '#7cc66d',
    500: '#31ac2a',
    950: '#000000',
  },
}
SCSS
$custom: #31ac2a;
$custom-light: #7cc66d;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac2a",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 116.769,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.653,
    "c": 0.19726,
    "h": 142.3
  },
  "luminance": 0.30325
}

Semantic roles & 50–950 ramp

primary
#31AC2A
secondary
#C06DC4
accent
#44E4DB
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31AC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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