#31A468#31A468

#31A468 is a light, vivid green. Relative luminance 0.282; OKLCH L 64.0% C 0.136 H 155.9°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#31A468
RGBrgb(49, 164, 104)
HSLhsl(149, 54%, 42%)
HSVhsv(149, 70%, 64%)
CMYKcmyk(70.1%, 0%, 36.6%, 35.7%)
CIE-LABlab(60.07, -45.96, 22.13)
CIE-LCHlch(60.07, 51.01, 154.29°)
OKLaboklab(64% -0.1244 0.0555)
OKLCHoklch(64% 0.136 155.9)
XYZxyz(17.0392, 28.2015, 17.6395)
Luminance0.2820 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A468 #A4316D
analogous
#33A431 #31A468 #31A4A2
triadic
#31A468 #6831A4 #A46831
tetradic
#31A468 #3133A4 #A4316D #A4A231
square
#31A468 #3133A4 #A4316D #A4A231
split-complementary
#31A468 #A231A4 #A43133
monochromatic
#15462C #23754A #31A468 #49C986 #79D7A6

Accessibility & contrast

On white

3.16
#31A468 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#31A468 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A468
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A468#FFFFFF#000000##000000
##31A4681.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39764
Deuteranopia (green-blind)
#958D6C
Tritanopia (blue-blind)
#00A295
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a468;
/* rgb */ color: rgb(49, 164, 104);
/* oklch */ color: oklch(64.0% 0.136 155.9);
Tailwind
colors: {
  custom: {
    50: '#78c093',
    500: '#31a468',
    950: '#000000',
  },
}
SCSS
$custom: #31a468;
$custom-light: #78c093;
$custom-dark: #000000;
JSON
{
  "hex": "#31a468",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 104
  },
  "hsl": {
    "h": 148.696,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63998,
    "c": 0.13622,
    "h": 155.9
  },
  "luminance": 0.28203
}

Semantic roles & 50–950 ramp

primary
#31A468
secondary
#BF729A
accent
#4A97DD
background
#F7FBF9
surface
#EEF7F1
border
#C9D0CB
text
#0A120D
muted
#7C817E

Preview Lab

Preview with #31A468

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

Preview Lab → · Contrast checker → · Palette generator →

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