#31A34D#31A34D

#31A34D is a light, vivid green. Relative luminance 0.274; OKLCH L 63.2% C 0.160 H 147.8°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#31A34D
RGBrgb(49, 163, 77)
HSLhsl(135, 54%, 42%)
HSVhsv(135, 70%, 64%)
CMYKcmyk(69.9%, 0%, 52.8%, 36.1%)
CIE-LABlab(59.33, -50.33, 35.40)
CIE-LCHlch(59.33, 61.53, 144.88°)
OKLaboklab(63.25% -0.1356 0.0853)
OKLCHoklch(63.25% 0.16 147.8)
XYZxyz(15.7022, 27.3815, 11.4774)
Luminance0.2738 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A34D #A33187
analogous
#4EA331 #31A34D #31A386
triadic
#31A34D #4D31A3 #A34D31
tetradic
#31A34D #314EA3 #A33187 #A38631
square
#31A34D #314EA3 #A33187 #A38631
split-complementary
#31A34D #8631A3 #A3314E
monochromatic
#154521 #237437 #31A34D #49C868 #78D68F

Accessibility & contrast

On white

3.24
#31A34D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#31A34D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A34D
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A34D#FFFFFF#000000##000000
##31A34D1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59545
Deuteranopia (green-blind)
#978B53
Tritanopia (blue-blind)
#00A08F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #31a34d;
/* rgb */ color: rgb(49, 163, 77);
/* oklch */ color: oklch(63.2% 0.160 147.8);
Tailwind
colors: {
  custom: {
    50: '#79bf81',
    500: '#31a34d',
    950: '#000000',
  },
}
SCSS
$custom: #31a34d;
$custom-light: #79bf81;
$custom-dark: #000000;
JSON
{
  "hex": "#31a34d",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 77
  },
  "hsl": {
    "h": 134.737,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.63247,
    "c": 0.16021,
    "h": 147.8
  },
  "luminance": 0.27383
}

Semantic roles & 50–950 ramp

primary
#31A34D
secondary
#BF71AC
accent
#4BB9DD
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#0A120A
muted
#7C817C

Preview Lab

Preview with #31A34D

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

Preview Lab → · Contrast checker → · Palette generator →

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