#31AC36#31AC36

#31AC36 is a light, vivid green. Relative luminance 0.304; OKLCH L 65.4% C 0.190 H 143.5°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#31AC36
RGBrgb(49, 172, 54)
HSLhsl(122, 56%, 43%)
HSVhsv(122, 72%, 67%)
CMYKcmyk(71.5%, 0%, 68.6%, 32.5%)
CIE-LABlab(62.02, -56.32, 49.09)
CIE-LCHlch(62.02, 74.72, 138.92°)
OKLaboklab(65.4% -0.1527 0.1128)
OKLCHoklch(65.4% 0.19 143.5)
XYZxyz(16.6840, 30.4225, 8.4822)
Luminance0.3042 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC36 #AC31A7
analogous
#69AC31 #31AC36 #31AC73
triadic
#31AC36 #3631AC #AC3631
tetradic
#31AC36 #3169AC #AC31A7 #AC7331
square
#31AC36 #3169AC #AC31A7 #AC7331
split-complementary
#31AC36 #7331AC #AC3169
monochromatic
#164D18 #237C27 #31AC36 #4ECC53 #7DDA81

Accessibility & contrast

On white

2.96
#31AC36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#31AC36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC36
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC36#FFFFFF#000000##000000
##31AC361.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C25
Deuteranopia (green-blind)
#A19241
Tritanopia (blue-blind)
#01A794
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ac36;
/* rgb */ color: rgb(49, 172, 54);
/* oklch */ color: oklch(65.4% 0.190 143.5);
Tailwind
colors: {
  custom: {
    50: '#7bc673',
    500: '#31ac36',
    950: '#000000',
  },
}
SCSS
$custom: #31ac36;
$custom-light: #7bc673;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac36",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 54
  },
  "hsl": {
    "h": 122.439,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.65398,
    "c": 0.18984,
    "h": 143.5
  },
  "luminance": 0.30424
}

Semantic roles & 50–950 ramp

primary
#31AC36
secondary
#C376C0
accent
#49D9DF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AC36

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

Preview Lab → · Contrast checker → · Palette generator →

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