#31AD2A#31AD2A

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

Color values

HEX#31AD2A
RGBrgb(49, 173, 42)
HSLhsl(117, 61%, 42%)
HSVhsv(117, 76%, 68%)
CMYKcmyk(71.7%, 0%, 75.7%, 32.2%)
CIE-LABlab(62.26, -57.68, 53.90)
CIE-LCHlch(62.26, 78.95, 136.94°)
OKLaboklab(65.57% -0.1569 0.1214)
OKLCHoklch(65.57% 0.198 142.3)
XYZxyz(16.6271, 30.7054, 7.2405)
Luminance0.3071 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AD2A #A62AAD
analogous
#73AD2A #31AD2A #2AAD65
triadic
#31AD2A #2A31AD #AD2A31
tetradic
#31AD2A #2A73AD #A62AAD #AD652A
square
#31AD2A #2A73AD #A62AAD #AD652A
split-complementary
#31AD2A #652AAD #AD2A73
monochromatic
#154B12 #237C1E #31AD2A #4AD143 #7ADD74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AD2A#FFFFFF#000000##000000
##31AD2A1.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)
#B19C0D
Deuteranopia (green-blind)
#A39338
Tritanopia (blue-blind)
#08A894
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ad2a;
/* rgb */ color: rgb(49, 173, 42);
/* oklch */ color: oklch(65.6% 0.198 142.3);
Tailwind
colors: {
  custom: {
    50: '#7cc76d',
    500: '#31ad2a',
    950: '#000000',
  },
}
SCSS
$custom: #31ad2a;
$custom-light: #7cc76d;
$custom-dark: #000000;
JSON
{
  "hex": "#31ad2a",
  "rgb": {
    "r": 49,
    "g": 173,
    "b": 42
  },
  "hsl": {
    "h": 116.794,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65571,
    "c": 0.19838,
    "h": 142.3
  },
  "luminance": 0.30707
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31AD2A

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

Preview Lab → · Contrast checker → · Palette generator →

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