#31B33F#31B33F

#31B33F is a light, vivid green. Relative luminance 0.333; OKLCH L 67.4% C 0.192 H 144.5°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#31B33F
RGBrgb(49, 179, 63)
HSLhsl(126, 57%, 45%)
HSVhsv(126, 73%, 70%)
CMYKcmyk(72.6%, 0%, 64.8%, 29.8%)
CIE-LABlab(64.36, -57.76, 47.85)
CIE-LCHlch(64.36, 75.01, 140.36°)
OKLaboklab(67.37% -0.1562 0.1112)
OKLCHoklch(67.37% 0.192 144.5)
XYZxyz(18.2827, 33.2500, 10.1560)
Luminance0.3325 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B33F #B331A5
analogous
#64B331 #31B33F #31B380
triadic
#31B33F #3F31B3 #B33F31
tetradic
#31B33F #3164B3 #B331A5 #B38031
square
#31B33F #3164B3 #B331A5 #B38031
split-complementary
#31B33F #8031B3 #B33164
monochromatic
#17531D #24832E #31B33F #52D05F #82DD8C

Accessibility & contrast

On white

2.74
#31B33F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#31B33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B33F
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B33F#FFFFFF#000000##000000
##31B33F1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A231
Deuteranopia (green-blind)
#A79849
Tritanopia (blue-blind)
#00AE9B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b33f;
/* rgb */ color: rgb(49, 179, 63);
/* oklch */ color: oklch(67.4% 0.192 144.5);
Tailwind
colors: {
  custom: {
    50: '#7dcb79',
    500: '#31b33f',
    950: '#000000',
  },
}
SCSS
$custom: #31b33f;
$custom-light: #7dcb79;
$custom-dark: #000000;
JSON
{
  "hex": "#31b33f",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 63
  },
  "hsl": {
    "h": 126.462,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67368,
    "c": 0.19171,
    "h": 144.5
  },
  "luminance": 0.33252
}

Semantic roles & 50–950 ramp

primary
#31B33F
secondary
#C67ABE
accent
#48D0E0
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B33F

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

Preview Lab → · Contrast checker → · Palette generator →

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