#31AD2D#31AD2D

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

Color values

HEX#31AD2D
RGBrgb(49, 173, 45)
HSLhsl(118, 59%, 43%)
HSVhsv(118, 74%, 68%)
CMYKcmyk(71.7%, 0%, 74%, 32.2%)
CIE-LABlab(62.28, -57.45, 52.85)
CIE-LCHlch(62.28, 78.06, 137.39°)
OKLaboklab(65.59% -0.1562 0.1196)
OKLCHoklch(65.59% 0.197 142.6)
XYZxyz(16.6829, 30.7277, 7.5340)
Luminance0.3073 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AD2D #A92DAD
analogous
#71AD2D #31AD2D #2DAD69
triadic
#31AD2D #2D31AD #AD2D31
tetradic
#31AD2D #2D71AD #A92DAD #AD692D
square
#31AD2D #2D71AD #A92DAD #AD692D
split-complementary
#31AD2D #692DAD #AD2D71
monochromatic
#154C14 #237C20 #31AD2D #4CCF48 #7CDC78

Accessibility & contrast

On white

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

On black

7.15
#31AD2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AD2D
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AD2D#FFFFFF#000000##000000
##31AD2D1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C15
Deuteranopia (green-blind)
#A3933A
Tritanopia (blue-blind)
#06A894
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ad2d;
/* rgb */ color: rgb(49, 173, 45);
/* oklch */ color: oklch(65.6% 0.197 142.6);
Tailwind
colors: {
  custom: {
    50: '#7cc76e',
    500: '#31ad2d',
    950: '#000000',
  },
}
SCSS
$custom: #31ad2d;
$custom-light: #7cc76e;
$custom-dark: #000000;
JSON
{
  "hex": "#31ad2d",
  "rgb": {
    "r": 49,
    "g": 173,
    "b": 45
  },
  "hsl": {
    "h": 118.125,
    "s": 58.716,
    "l": 42.745
  },
  "oklch": {
    "l": 0.65592,
    "c": 0.19669,
    "h": 142.6
  },
  "luminance": 0.3073
}

Semantic roles & 50–950 ramp

primary
#31AD2D
secondary
#C172C4
accent
#46E2DD
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AD2D

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

Preview Lab → · Contrast checker → · Palette generator →

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