#31AC38#31AC38

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

Color values

HEX#31AC38
RGBrgb(49, 172, 56)
HSLhsl(123, 56%, 43%)
HSVhsv(123, 72%, 67%)
CMYKcmyk(71.5%, 0%, 67.4%, 32.5%)
CIE-LABlab(62.03, -56.13, 48.28)
CIE-LCHlch(62.03, 74.04, 139.30°)
OKLaboklab(65.42% -0.152 0.1114)
OKLCHoklch(65.42% 0.188 143.8)
XYZxyz(16.7319, 30.4417, 8.7347)
Luminance0.3044 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC38 #AC31A5
analogous
#67AC31 #31AC38 #31AC75
triadic
#31AC38 #3831AC #AC3831
tetradic
#31AC38 #3167AC #AC31A5 #AC7531
square
#31AC38 #3167AC #AC31A5 #AC7531
split-complementary
#31AC38 #7531AC #AC3167
monochromatic
#164D19 #237C28 #31AC38 #4ECC55 #7DDA83

Accessibility & contrast

On white

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

On black

7.09
#31AC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC38
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC38#FFFFFF#000000##000000
##31AC381.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C28
Deuteranopia (green-blind)
#A19243
Tritanopia (blue-blind)
#00A794
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ac38;
/* rgb */ color: rgb(49, 172, 56);
/* oklch */ color: oklch(65.4% 0.188 143.8);
Tailwind
colors: {
  custom: {
    50: '#7bc674',
    500: '#31ac38',
    950: '#000000',
  },
}
SCSS
$custom: #31ac38;
$custom-light: #7bc674;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac38",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 123.415,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.65417,
    "c": 0.18845,
    "h": 143.8
  },
  "luminance": 0.30444
}

Semantic roles & 50–950 ramp

primary
#31AC38
secondary
#C376BE
accent
#49D6DF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AC38

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

Preview Lab → · Contrast checker → · Palette generator →

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