#31AC34#31AC34

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

Color values

HEX#31AC34
RGBrgb(49, 172, 52)
HSLhsl(121, 56%, 43%)
HSVhsv(121, 72%, 67%)
CMYKcmyk(71.5%, 0%, 69.8%, 32.5%)
CIE-LABlab(62.00, -56.51, 49.89)
CIE-LCHlch(62.00, 75.38, 138.56°)
OKLaboklab(65.38% -0.1533 0.1143)
OKLCHoklch(65.38% 0.191 143.3)
XYZxyz(16.6380, 30.4041, 8.2399)
Luminance0.3041 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC34 #AC31A9
analogous
#6CAC31 #31AC34 #31AC71
triadic
#31AC34 #3431AC #AC3431
tetradic
#31AC34 #316CAC #AC31A9 #AC7131
square
#31AC34 #316CAC #AC31A9 #AC7131
split-complementary
#31AC34 #7131AC #AC316C
monochromatic
#164D17 #237C26 #31AC34 #4ECC51 #7DDA80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AC34#FFFFFF#000000##000000
##31AC341.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)
#B09C22
Deuteranopia (green-blind)
#A19240
Tritanopia (blue-blind)
#03A794
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ac34;
/* rgb */ color: rgb(49, 172, 52);
/* oklch */ color: oklch(65.4% 0.191 143.3);
Tailwind
colors: {
  custom: {
    50: '#7cc672',
    500: '#31ac34',
    950: '#000000',
  },
}
SCSS
$custom: #31ac34;
$custom-light: #7cc672;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac34",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 52
  },
  "hsl": {
    "h": 121.463,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.6538,
    "c": 0.19118,
    "h": 143.3
  },
  "luminance": 0.30406
}

Semantic roles & 50–950 ramp

primary
#31AC34
secondary
#C376C1
accent
#49DBDF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AC34

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

Preview Lab → · Contrast checker → · Palette generator →

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