#31AD2C#31AD2C

#31AD2C is a light, vivid green. Relative luminance 0.307; OKLCH L 65.6% C 0.197 H 142.5°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#31AD2C
RGBrgb(49, 173, 44)
HSLhsl(118, 59%, 43%)
HSVhsv(118, 75%, 68%)
CMYKcmyk(71.7%, 0%, 74.6%, 32.2%)
CIE-LABlab(62.27, -57.53, 53.21)
CIE-LCHlch(62.27, 78.36, 137.24°)
OKLaboklab(65.59% -0.1564 0.1202)
OKLCHoklch(65.59% 0.197 142.5)
XYZxyz(16.6638, 30.7201, 7.4338)
Luminance0.3072 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AD2C #A82CAD
analogous
#72AD2C #31AD2C #2CAD67
triadic
#31AD2C #2C31AD #AD2C31
tetradic
#31AD2C #2C72AD #A82CAD #AD672C
square
#31AD2C #2C72AD #A82CAD #AD672C
split-complementary
#31AD2C #672CAD #AD2C72
monochromatic
#154B13 #237C20 #31AD2C #4CD046 #7BDC77

Accessibility & contrast

On white

2.94
#31AD2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#31AD2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AD2C
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AD2C#FFFFFF#000000##000000
##31AD2C1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C12
Deuteranopia (green-blind)
#A3933A
Tritanopia (blue-blind)
#07A894
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ad2c;
/* rgb */ color: rgb(49, 173, 44);
/* oklch */ color: oklch(65.6% 0.197 142.5);
Tailwind
colors: {
  custom: {
    50: '#7cc76e',
    500: '#31ad2c',
    950: '#000000',
  },
}
SCSS
$custom: #31ad2c;
$custom-light: #7cc76e;
$custom-dark: #000000;
JSON
{
  "hex": "#31ad2c",
  "rgb": {
    "r": 49,
    "g": 173,
    "b": 44
  },
  "hsl": {
    "h": 117.674,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65585,
    "c": 0.19727,
    "h": 142.5
  },
  "luminance": 0.30722
}

Semantic roles & 50–950 ramp

primary
#31AD2C
secondary
#C171C4
accent
#45E3DD
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AD2C

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

Preview Lab → · Contrast checker → · Palette generator →

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