#31B43F#31B43F

#31B43F is a light, vivid green. Relative luminance 0.337; OKLCH L 67.6% C 0.193 H 144.5°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#31B43F
RGBrgb(49, 180, 63)
HSLhsl(126, 57%, 45%)
HSVhsv(126, 73%, 71%)
CMYKcmyk(72.8%, 0%, 65%, 29.4%)
CIE-LABlab(64.69, -58.10, 48.21)
CIE-LCHlch(64.69, 75.50, 140.31°)
OKLaboklab(67.64% -0.1571 0.112)
OKLCHoklch(67.64% 0.193 144.5)
XYZxyz(18.4839, 33.6523, 10.2231)
Luminance0.3365 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B43F #B431A6
analogous
#65B431 #31B43F #31B480
triadic
#31B43F #3F31B4 #B43F31
tetradic
#31B43F #3165B4 #B431A6 #B48031
square
#31B43F #3165B4 #B431A6 #B48031
split-complementary
#31B43F #8031B4 #B43165
monochromatic
#17541D #24842E #31B43F #52D060 #82DD8C

Accessibility & contrast

On white

2.72
#31B43F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#31B43F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B43F
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B43F#FFFFFF#000000##000000
##31B43F1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A331
Deuteranopia (green-blind)
#A89949
Tritanopia (blue-blind)
#00AF9C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b43f;
/* rgb */ color: rgb(49, 180, 63);
/* oklch */ color: oklch(67.6% 0.193 144.5);
Tailwind
colors: {
  custom: {
    50: '#7dcc79',
    500: '#31b43f',
    950: '#000000',
  },
}
SCSS
$custom: #31b43f;
$custom-light: #7dcc79;
$custom-dark: #000000;
JSON
{
  "hex": "#31b43f",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 63
  },
  "hsl": {
    "h": 126.412,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67635,
    "c": 0.1929,
    "h": 144.5
  },
  "luminance": 0.33654
}

Semantic roles & 50–950 ramp

primary
#31B43F
secondary
#C67BBE
accent
#47D0E0
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B43F

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

Preview Lab → · Contrast checker → · Palette generator →

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