#31AC33#31AC33

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

Color values

HEX#31AC33
RGBrgb(49, 172, 51)
HSLhsl(121, 56%, 43%)
HSVhsv(121, 72%, 67%)
CMYKcmyk(71.5%, 0%, 70.3%, 32.5%)
CIE-LABlab(61.99, -56.61, 50.28)
CIE-LCHlch(61.99, 75.71, 138.39°)
OKLaboklab(65.37% -0.1536 0.115)
OKLCHoklch(65.37% 0.192 143.2)
XYZxyz(16.6157, 30.3952, 8.1225)
Luminance0.3040 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC33 #AC31AA
analogous
#6CAC31 #31AC33 #31AC70
triadic
#31AC33 #3331AC #AC3331
tetradic
#31AC33 #316CAC #AC31AA #AC7031
square
#31AC33 #316CAC #AC31AA #AC7031
split-complementary
#31AC33 #7031AC #AC316C
monochromatic
#164D17 #237C25 #31AC33 #4ECC50 #7DDA7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AC33#FFFFFF#000000##000000
##31AC331.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C21
Deuteranopia (green-blind)
#A1923F
Tritanopia (blue-blind)
#03A794
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ac33;
/* rgb */ color: rgb(49, 172, 51);
/* oklch */ color: oklch(65.4% 0.192 143.2);
Tailwind
colors: {
  custom: {
    50: '#7cc671',
    500: '#31ac33',
    950: '#000000',
  },
}
SCSS
$custom: #31ac33;
$custom-light: #7cc671;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac33",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 51
  },
  "hsl": {
    "h": 120.976,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.65371,
    "c": 0.19184,
    "h": 143.2
  },
  "luminance": 0.30397
}

Semantic roles & 50–950 ramp

primary
#31AC33
secondary
#C376C2
accent
#49DDDF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AC33

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

Preview Lab → · Contrast checker → · Palette generator →

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