#31AC2B#31AC2B

#31AC2B is a light, vivid green. Relative luminance 0.303; OKLCH L 65.3% C 0.197 H 142.4°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#31AC2B
RGBrgb(49, 172, 43)
HSLhsl(117, 60%, 42%)
HSVhsv(117, 75%, 67%)
CMYKcmyk(71.5%, 0%, 75%, 32.5%)
CIE-LABlab(61.94, -57.28, 53.23)
CIE-LCHlch(61.94, 78.19, 137.10°)
OKLaboklab(65.31% -0.1558 0.1201)
OKLCHoklch(65.31% 0.197 142.4)
XYZxyz(16.4542, 30.3306, 7.2723)
Luminance0.3033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC2B #A62BAC
analogous
#72AC2B #31AC2B #2BAC65
triadic
#31AC2B #2B31AC #AC2B31
tetradic
#31AC2B #2B72AC #A62BAC #AC652B
square
#31AC2B #2B72AC #A62BAC #AC652B
split-complementary
#31AC2B #652BAC #AC2B72
monochromatic
#154A13 #237B1F #31AC2B #4AD044 #7ADC75

Accessibility & contrast

On white

2.97
#31AC2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#31AC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC2B
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC2B#FFFFFF#000000##000000
##31AC2B1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C11
Deuteranopia (green-blind)
#A29239
Tritanopia (blue-blind)
#09A793
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ac2b;
/* rgb */ color: rgb(49, 172, 43);
/* oklch */ color: oklch(65.3% 0.197 142.4);
Tailwind
colors: {
  custom: {
    50: '#7cc66d',
    500: '#31ac2b',
    950: '#000000',
  },
}
SCSS
$custom: #31ac2b;
$custom-light: #7cc66d;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac2b",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 117.209,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65307,
    "c": 0.1967,
    "h": 142.4
  },
  "luminance": 0.30332
}

Semantic roles & 50–950 ramp

primary
#31AC2B
secondary
#C06FC4
accent
#45E3DC
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31AC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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