#31AC2C#31AC2C

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

Color values

HEX#31AC2C
RGBrgb(49, 172, 44)
HSLhsl(118, 59%, 42%)
HSVhsv(118, 74%, 67%)
CMYKcmyk(71.5%, 0%, 74.4%, 32.5%)
CIE-LABlab(61.94, -57.20, 52.88)
CIE-LCHlch(61.94, 77.90, 137.25°)
OKLaboklab(65.32% -0.1555 0.1195)
OKLCHoklch(65.32% 0.196 142.5)
XYZxyz(16.4728, 30.3381, 7.3701)
Luminance0.3034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC2C #A72CAC
analogous
#71AC2C #31AC2C #2CAC67
triadic
#31AC2C #2C31AC #AC2C31
tetradic
#31AC2C #2C71AC #A72CAC #AC672C
square
#31AC2C #2C71AC #A72CAC #AC672C
split-complementary
#31AC2C #672CAC #AC2C71
monochromatic
#154B13 #237B20 #31AC2C #4BD046 #7ADC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AC2C#FFFFFF#000000##000000
##31AC2C1.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)
#B09C13
Deuteranopia (green-blind)
#A2923A
Tritanopia (blue-blind)
#08A793
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ac2c;
/* rgb */ color: rgb(49, 172, 44);
/* oklch */ color: oklch(65.3% 0.196 142.5);
Tailwind
colors: {
  custom: {
    50: '#7cc66e',
    500: '#31ac2c',
    950: '#000000',
  },
}
SCSS
$custom: #31ac2c;
$custom-light: #7cc66e;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac2c",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 117.656,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.65315,
    "c": 0.19613,
    "h": 142.5
  },
  "luminance": 0.3034
}

Semantic roles & 50–950 ramp

primary
#31AC2C
secondary
#C170C4
accent
#45E2DC
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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