#31A968#31A968

#31A968 is a light, vivid green. Relative luminance 0.300; OKLCH L 65.3% C 0.143 H 154.9°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#31A968
RGBrgb(49, 169, 104)
HSLhsl(148, 55%, 43%)
HSVhsv(148, 71%, 66%)
CMYKcmyk(71%, 0%, 38.5%, 33.7%)
CIE-LABlab(61.68, -47.94, 24.27)
CIE-LCHlch(61.68, 53.74, 153.14°)
OKLaboklab(65.32% -0.1295 0.0607)
OKLCHoklch(65.32% 0.143 154.9)
XYZxyz(17.9516, 30.0264, 17.9436)
Luminance0.3003 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A968 #A93172
analogous
#36A931 #31A968 #31A9A4
triadic
#31A968 #6831A9 #A96831
tetradic
#31A968 #3136A9 #A93172 #A9A431
square
#31A968 #3136A9 #A93172 #A9A431
split-complementary
#31A968 #A431A9 #A93136
monochromatic
#154A2E #237A4B #31A968 #4CCB86 #7CD9A6

Accessibility & contrast

On white

3.00
#31A968 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#31A968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31A968
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A968#FFFFFF#000000##000000
##31A9681.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89B64
Deuteranopia (green-blind)
#9A916C
Tritanopia (blue-blind)
#00A799
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31a968;
/* rgb */ color: rgb(49, 169, 104);
/* oklch */ color: oklch(65.3% 0.143 154.9);
Tailwind
colors: {
  custom: {
    50: '#79c393',
    500: '#31a968',
    950: '#000000',
  },
}
SCSS
$custom: #31a968;
$custom-light: #79c393;
$custom-dark: #000000;
JSON
{
  "hex": "#31a968",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 104
  },
  "hsl": {
    "h": 147.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.65321,
    "c": 0.14303,
    "h": 154.9
  },
  "luminance": 0.30028
}

Semantic roles & 50–950 ramp

primary
#31A968
secondary
#C1749E
accent
#499ADE
background
#F7FCF9
surface
#EEF8F1
border
#C9D1CB
text
#0A130D
muted
#7C827E

Preview Lab

Preview with #31A968

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

Preview Lab → · Contrast checker → · Palette generator →

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