#31A451#31A451

#31A451 is a light, vivid green. Relative luminance 0.278; OKLCH L 63.6% C 0.158 H 148.7°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#31A451
RGBrgb(49, 164, 81)
HSLhsl(137, 54%, 42%)
HSVhsv(137, 70%, 64%)
CMYKcmyk(70.1%, 0%, 50.6%, 35.7%)
CIE-LABlab(59.70, -50.08, 33.83)
CIE-LCHlch(59.70, 60.44, 145.96°)
OKLaboklab(63.58% -0.1349 0.082)
OKLCHoklch(63.58% 0.158 148.7)
XYZxyz(16.0261, 27.7962, 12.3036)
Luminance0.2780 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A451 #A43184
analogous
#4AA431 #31A451 #31A48B
triadic
#31A451 #5131A4 #A45131
tetradic
#31A451 #314AA4 #A43184 #A48B31
square
#31A451 #314AA4 #A43184 #A48B31
split-complementary
#31A451 #8B31A4 #A4314A
monochromatic
#154622 #23753A #31A451 #49C96D #79D793

Accessibility & contrast

On white

3.20
#31A451 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#31A451 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A451
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A451#FFFFFF#000000##000000
##31A4511.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5964A
Deuteranopia (green-blind)
#988C57
Tritanopia (blue-blind)
#00A191
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a451;
/* rgb */ color: rgb(49, 164, 81);
/* oklch */ color: oklch(63.6% 0.158 148.7);
Tailwind
colors: {
  custom: {
    50: '#79c083',
    500: '#31a451',
    950: '#000000',
  },
}
SCSS
$custom: #31a451;
$custom-light: #79c083;
$custom-dark: #000000;
JSON
{
  "hex": "#31a451",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 81
  },
  "hsl": {
    "h": 136.696,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63577,
    "c": 0.15788,
    "h": 148.7
  },
  "luminance": 0.27798
}

Semantic roles & 50–950 ramp

primary
#31A451
secondary
#BF72AA
accent
#4AB4DD
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A451

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

Preview Lab → · Contrast checker → · Palette generator →

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