#31AE2B#31AE2B

#31AE2B is a light, vivid green. Relative luminance 0.311; OKLCH L 65.8% C 0.199 H 142.4°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#31AE2B
RGBrgb(49, 174, 43)
HSLhsl(117, 60%, 43%)
HSVhsv(117, 75%, 68%)
CMYKcmyk(71.8%, 0%, 75.3%, 31.8%)
CIE-LABlab(62.59, -57.94, 53.88)
CIE-LCHlch(62.59, 79.12, 137.08°)
OKLaboklab(65.85% -0.1576 0.1215)
OKLCHoklch(65.85% 0.199 142.4)
XYZxyz(16.8377, 31.0976, 7.4001)
Luminance0.3110 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AE2B #A82BAE
analogous
#72AE2B #31AE2B #2BAE67
triadic
#31AE2B #2B31AE #AE2B31
tetradic
#31AE2B #2B72AE #A82BAE #AE672B
square
#31AE2B #2B72AE #A82BAE #AE672B
split-complementary
#31AE2B #672BAE #AE2B72
monochromatic
#154C13 #237D1F #31AE2B #4CD145 #7BDD76

Accessibility & contrast

On white

2.91
#31AE2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#31AE2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AE2B
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AE2B#FFFFFF#000000##000000
##31AE2B1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D0F
Deuteranopia (green-blind)
#A49439
Tritanopia (blue-blind)
#06A995
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ae2b;
/* rgb */ color: rgb(49, 174, 43);
/* oklch */ color: oklch(65.8% 0.199 142.4);
Tailwind
colors: {
  custom: {
    50: '#7cc76d',
    500: '#31ae2b',
    950: '#000000',
  },
}
SCSS
$custom: #31ae2b;
$custom-light: #7cc76d;
$custom-dark: #000000;
JSON
{
  "hex": "#31ae2b",
  "rgb": {
    "r": 49,
    "g": 174,
    "b": 43
  },
  "hsl": {
    "h": 117.252,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65848,
    "c": 0.19895,
    "h": 142.4
  },
  "luminance": 0.31099
}

Semantic roles & 50–950 ramp

primary
#31AE2B
secondary
#C170C5
accent
#44E4DC
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AE2B

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

Preview Lab → · Contrast checker → · Palette generator →

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