#31A863#31A863

#31A863 is a light, vivid green. Relative luminance 0.296; OKLCH L 65.0% C 0.146 H 153.4°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#31A863
RGBrgb(49, 168, 99)
HSLhsl(145, 55%, 43%)
HSVhsv(145, 71%, 66%)
CMYKcmyk(70.8%, 0%, 41.1%, 34.1%)
CIE-LABlab(61.27, -48.51, 26.42)
CIE-LCHlch(61.27, 55.23, 151.43°)
OKLaboklab(64.96% -0.1308 0.0656)
OKLCHoklch(64.96% 0.146 153.4)
XYZxyz(17.5198, 29.5571, 16.5837)
Luminance0.2956 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A863 #A83176
analogous
#3AA831 #31A863 #31A89F
triadic
#31A863 #6331A8 #A86331
tetradic
#31A863 #313AA8 #A83176 #A89F31
square
#31A863 #313AA8 #A83176 #A89F31
split-complementary
#31A863 #9F31A8 #A8313A
monochromatic
#15492B #237947 #31A863 #4CCB81 #7BD8A2

Accessibility & contrast

On white

3.04
#31A863 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#31A863 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A863
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A863#FFFFFF#000000##000000
##31A8631.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89A5E
Deuteranopia (green-blind)
#999068
Tritanopia (blue-blind)
#00A697
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31a863;
/* rgb */ color: rgb(49, 168, 99);
/* oklch */ color: oklch(65.0% 0.146 153.4);
Tailwind
colors: {
  custom: {
    50: '#79c390',
    500: '#31a863',
    950: '#000000',
  },
}
SCSS
$custom: #31a863;
$custom-light: #79c390;
$custom-dark: #000000;
JSON
{
  "hex": "#31a863",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 99
  },
  "hsl": {
    "h": 145.21,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.64958,
    "c": 0.14638,
    "h": 153.4
  },
  "luminance": 0.29559
}

Semantic roles & 50–950 ramp

primary
#31A863
secondary
#C174A1
accent
#4AA0DE
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #31A863

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

Preview Lab → · Contrast checker → · Palette generator →

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