#31B432#31B432

#31B432 is a light, highly saturated green. Relative luminance 0.335; OKLCH L 67.5% C 0.202 H 143.0°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#31B432
RGBrgb(49, 180, 50)
HSLhsl(120, 57%, 45%)
HSVhsv(120, 73%, 71%)
CMYKcmyk(72.8%, 0%, 72.2%, 29.4%)
CIE-LABlab(64.58, -59.35, 53.36)
CIE-LCHlch(64.58, 79.81, 138.04°)
OKLaboklab(67.52% -0.1611 0.1213)
OKLCHoklch(67.52% 0.202 143)
XYZxyz(18.1625, 33.5237, 8.5305)
Luminance0.3353 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B432 #B431B3
analogous
#72B431 #31B432 #31B474
triadic
#31B432 #3231B4 #B43231
tetradic
#31B432 #3172B4 #B431B3 #B47431
square
#31B432 #3172B4 #B431B3 #B47431
split-complementary
#31B432 #7431B4 #B43172
monochromatic
#175417 #248425 #31B432 #52D053 #82DD83

Accessibility & contrast

On white

2.73
#31B432 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#31B432 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B432
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B432#FFFFFF#000000##000000
##31B4321.002.737.717.71
#FFFFFF2.731.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31C
Deuteranopia (green-blind)
#A9993F
Tritanopia (blue-blind)
#00AF9A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b432;
/* rgb */ color: rgb(49, 180, 50);
/* oklch */ color: oklch(67.5% 0.202 143.0);
Tailwind
colors: {
  custom: {
    50: '#7dcc72',
    500: '#31b432',
    950: '#000000',
  },
}
SCSS
$custom: #31b432;
$custom-light: #7dcc72;
$custom-dark: #000000;
JSON
{
  "hex": "#31b432",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 50
  },
  "hsl": {
    "h": 120.458,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67517,
    "c": 0.20161,
    "h": 143
  },
  "luminance": 0.33526
}

Semantic roles & 50–950 ramp

primary
#31B432
secondary
#C67BC6
accent
#47DFE0
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31B432

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

Preview Lab → · Contrast checker → · Palette generator →

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