#31D432#31D432

#31D432 is a light, highly saturated green. Relative luminance 0.480; OKLCH L 76.0% C 0.236 H 142.9°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#31D432
RGBrgb(49, 212, 50)
HSLhsl(120, 65%, 51%)
HSVhsv(120, 77%, 83%)
CMYKcmyk(76.9%, 0%, 76.4%, 16.9%)
CIE-LABlab(74.80, -69.41, 63.59)
CIE-LCHlch(74.80, 94.13, 137.51°)
OKLaboklab(76.01% -0.1883 0.1426)
OKLCHoklch(76.01% 0.236 142.9)
XYZxyz(25.3842, 47.9672, 10.9378)
Luminance0.4797 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31D432 #D431D3
analogous
#81D431 #31D432 #31D483
triadic
#31D432 #3231D4 #D43231
tetradic
#31D432 #3181D4 #D431D3 #D48331
square
#31D432 #3181D4 #D431D3 #D48331
split-complementary
#31D432 #8331D4 #D43181
monochromatic
#187318 #23A523 #31D432 #64DF64 #96E997

Accessibility & contrast

On white

1.98
#31D432 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#31D432 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31D432
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31D432#FFFFFF#000000##000000
##31D4321.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C006
Deuteranopia (green-blind)
#C7B345
Tritanopia (blue-blind)
#00CEB6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #31d432;
/* rgb */ color: rgb(49, 212, 50);
/* oklch */ color: oklch(76.0% 0.236 142.9);
Tailwind
colors: {
  custom: {
    50: '#85e376',
    500: '#31d432',
    950: '#000000',
  },
}
SCSS
$custom: #31d432;
$custom-light: #85e376;
$custom-dark: #000000;
JSON
{
  "hex": "#31d432",
  "rgb": {
    "r": 49,
    "g": 212,
    "b": 50
  },
  "hsl": {
    "h": 120.368,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.7601,
    "c": 0.23625,
    "h": 142.9
  },
  "luminance": 0.4797
}

Semantic roles & 50–950 ramp

primary
#31D432
secondary
#D48CD4
accent
#3FE7E8
background
#F9FEF7
surface
#F1FCEE
border
#CBD5C9
text
#0D1609
muted
#7E847B

Preview Lab

Preview with #31D432

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

Preview Lab → · Contrast checker → · Palette generator →

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