#31AD2B#31AD2B

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

Color values

HEX#31AD2B
RGBrgb(49, 173, 43)
HSLhsl(117, 60%, 42%)
HSVhsv(117, 75%, 68%)
CMYKcmyk(71.7%, 0%, 75.1%, 32.2%)
CIE-LABlab(62.26, -57.61, 53.56)
CIE-LCHlch(62.26, 78.66, 137.09°)
OKLaboklab(65.58% -0.1567 0.1208)
OKLCHoklch(65.58% 0.198 142.4)
XYZxyz(16.6453, 30.7127, 7.3359)
Luminance0.3071 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AD2B #A72BAD
analogous
#72AD2B #31AD2B #2BAD66
triadic
#31AD2B #2B31AD #AD2B31
tetradic
#31AD2B #2B72AD #A72BAD #AD662B
square
#31AD2B #2B72AD #A72BAD #AD662B
split-complementary
#31AD2B #662BAD #AD2B72
monochromatic
#154B13 #237C1F #31AD2B #4BD145 #7ADD76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AD2B#FFFFFF#000000##000000
##31AD2B1.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)
#B19C10
Deuteranopia (green-blind)
#A39339
Tritanopia (blue-blind)
#07A894
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ad2b;
/* rgb */ color: rgb(49, 173, 43);
/* oklch */ color: oklch(65.6% 0.198 142.4);
Tailwind
colors: {
  custom: {
    50: '#7cc76d',
    500: '#31ad2b',
    950: '#000000',
  },
}
SCSS
$custom: #31ad2b;
$custom-light: #7cc76d;
$custom-dark: #000000;
JSON
{
  "hex": "#31ad2b",
  "rgb": {
    "r": 49,
    "g": 173,
    "b": 43
  },
  "hsl": {
    "h": 117.231,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.65578,
    "c": 0.19782,
    "h": 142.4
  },
  "luminance": 0.30715
}

Semantic roles & 50–950 ramp

primary
#31AD2B
secondary
#C16FC4
accent
#44E3DC
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AD2B

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

Preview Lab → · Contrast checker → · Palette generator →

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