#31B332#31B332

#31B332 is a light, highly saturated green. Relative luminance 0.331; OKLCH L 67.2% C 0.200 H 143.0°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#31B332
RGBrgb(49, 179, 50)
HSLhsl(120, 57%, 45%)
HSVhsv(120, 73%, 70%)
CMYKcmyk(72.6%, 0%, 72.1%, 29.8%)
CIE-LABlab(64.26, -59.02, 53.02)
CIE-LCHlch(64.26, 79.34, 138.06°)
OKLaboklab(67.25% -0.1602 0.1206)
OKLCHoklch(67.25% 0.2 143)
XYZxyz(17.9613, 33.1214, 8.4635)
Luminance0.3312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B332 #B331B2
analogous
#71B331 #31B332 #31B373
triadic
#31B332 #3231B3 #B33231
tetradic
#31B332 #3171B3 #B331B2 #B37331
square
#31B332 #3171B3 #B331B2 #B37331
split-complementary
#31B332 #7331B3 #B33171
monochromatic
#175317 #248325 #31B332 #52D053 #82DD82

Accessibility & contrast

On white

2.75
#31B332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#31B332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B332
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B332#FFFFFF#000000##000000
##31B3321.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21C
Deuteranopia (green-blind)
#A8983F
Tritanopia (blue-blind)
#00AE9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b332;
/* rgb */ color: rgb(49, 179, 50);
/* oklch */ color: oklch(67.2% 0.200 143.0);
Tailwind
colors: {
  custom: {
    50: '#7dcb72',
    500: '#31b332',
    950: '#000000',
  },
}
SCSS
$custom: #31b332;
$custom-light: #7dcb72;
$custom-dark: #000000;
JSON
{
  "hex": "#31b332",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 50
  },
  "hsl": {
    "h": 120.462,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67248,
    "c": 0.20048,
    "h": 143
  },
  "luminance": 0.33123
}

Semantic roles & 50–950 ramp

primary
#31B332
secondary
#C67AC5
accent
#48DFE0
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31B332

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

Preview Lab → · Contrast checker → · Palette generator →

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