#31A83F#31A83F

#31A83F is a light, vivid green. Relative luminance 0.290; OKLCH L 64.4% C 0.178 H 144.9°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#31A83F
RGBrgb(49, 168, 63)
HSLhsl(127, 55%, 43%)
HSVhsv(127, 71%, 66%)
CMYKcmyk(70.8%, 0%, 62.5%, 34.1%)
CIE-LABlab(60.80, -53.99, 43.85)
CIE-LCHlch(60.80, 69.56, 140.91°)
OKLaboklab(64.41% -0.1459 0.1027)
OKLCHoklch(64.41% 0.178 144.9)
XYZxyz(16.1654, 29.0153, 9.4502)
Luminance0.2902 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A83F #A8319A
analogous
#5EA831 #31A83F #31A87B
triadic
#31A83F #3F31A8 #A83F31
tetradic
#31A83F #315EA8 #A8319A #A87B31
square
#31A83F #315EA8 #A8319A #A87B31
split-complementary
#31A83F #7B31A8 #A8315E
monochromatic
#15491B #23792D #31A83F #4CCB5A #7BD886

Accessibility & contrast

On white

3.09
#31A83F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#31A83F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A83F
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A83F#FFFFFF#000000##000000
##31A83F1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9933
Deuteranopia (green-blind)
#9D8F48
Tritanopia (blue-blind)
#00A492
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a83f;
/* rgb */ color: rgb(49, 168, 63);
/* oklch */ color: oklch(64.4% 0.178 144.9);
Tailwind
colors: {
  custom: {
    50: '#7ac378',
    500: '#31a83f',
    950: '#000000',
  },
}
SCSS
$custom: #31a83f;
$custom-light: #7ac378;
$custom-dark: #000000;
JSON
{
  "hex": "#31a83f",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 63
  },
  "hsl": {
    "h": 127.059,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.64411,
    "c": 0.17843,
    "h": 144.9
  },
  "luminance": 0.29017
}

Semantic roles & 50–950 ramp

primary
#31A83F
secondary
#C174B8
accent
#4ACDDE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31A83F

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

Preview Lab → · Contrast checker → · Palette generator →

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