#31A348#31A348

#31A348 is a light, vivid green. Relative luminance 0.273; OKLCH L 63.2% C 0.165 H 146.7°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#31A348
RGBrgb(49, 163, 72)
HSLhsl(132, 54%, 42%)
HSVhsv(132, 70%, 64%)
CMYKcmyk(69.9%, 0%, 55.8%, 36.1%)
CIE-LABlab(59.26, -51.05, 37.81)
CIE-LCHlch(59.26, 63.53, 143.48°)
OKLaboklab(63.18% -0.1377 0.0903)
OKLCHoklch(63.18% 0.165 146.7)
XYZxyz(15.5324, 27.3135, 10.5831)
Luminance0.2732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A348 #A3318C
analogous
#53A331 #31A348 #31A381
triadic
#31A348 #4831A3 #A34831
tetradic
#31A348 #3153A3 #A3318C #A38131
square
#31A348 #3153A3 #A3318C #A38131
split-complementary
#31A348 #8131A3 #A33153
monochromatic
#15451E #237433 #31A348 #49C863 #78D68B

Accessibility & contrast

On white

3.25
#31A348 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#31A348 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A348
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A348#FFFFFF#000000##000000
##31A3481.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5943F
Deuteranopia (green-blind)
#978B4F
Tritanopia (blue-blind)
#009F8F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #31a348;
/* rgb */ color: rgb(49, 163, 72);
/* oklch */ color: oklch(63.2% 0.165 146.7);
Tailwind
colors: {
  custom: {
    50: '#79bf7d',
    500: '#31a348',
    950: '#000000',
  },
}
SCSS
$custom: #31a348;
$custom-light: #79bf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#31a348",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 72
  },
  "hsl": {
    "h": 132.105,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.63175,
    "c": 0.16465,
    "h": 146.7
  },
  "luminance": 0.27315
}

Semantic roles & 50–950 ramp

primary
#31A348
secondary
#BF71AF
accent
#4BC0DD
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#0A120A
muted
#7C817C

Preview Lab

Preview with #31A348

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

Preview Lab → · Contrast checker → · Palette generator →

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