#31D434#31D434

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

Color values

HEX#31D434
RGBrgb(49, 212, 52)
HSLhsl(121, 65%, 51%)
HSVhsv(121, 77%, 83%)
CMYKcmyk(76.9%, 0%, 75.5%, 16.9%)
CIE-LABlab(74.82, -69.27, 62.95)
CIE-LCHlch(74.82, 93.60, 137.73°)
OKLaboklab(76.02% -0.1879 0.1416)
OKLCHoklch(76.02% 0.235 143)
XYZxyz(25.4283, 47.9849, 11.1700)
Luminance0.4799 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31D434 #D431D1
analogous
#7FD431 #31D434 #31D485
triadic
#31D434 #3431D4 #D43431
tetradic
#31D434 #317FD4 #D431D1 #D48531
square
#31D434 #317FD4 #D431D1 #D48531
split-complementary
#31D434 #8531D4 #D4317F
monochromatic
#18731A #23A525 #31D434 #64DF66 #96E998

Accessibility & contrast

On white

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

On black

10.60
#31D434 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31D434
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31D434#FFFFFF#000000##000000
##31D4341.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31d434;
/* rgb */ color: rgb(49, 212, 52);
/* oklch */ color: oklch(76.0% 0.235 143.0);
Tailwind
colors: {
  custom: {
    50: '#85e376',
    500: '#31d434',
    950: '#000000',
  },
}
SCSS
$custom: #31d434;
$custom-light: #85e376;
$custom-dark: #000000;
JSON
{
  "hex": "#31d434",
  "rgb": {
    "r": 49,
    "g": 212,
    "b": 52
  },
  "hsl": {
    "h": 121.104,
    "s": 65.462,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76023,
    "c": 0.23524,
    "h": 143
  },
  "luminance": 0.47988
}

Semantic roles & 50–950 ramp

primary
#31D434
secondary
#D48CD3
accent
#3FE5E8
background
#F9FEF7
surface
#F1FCEE
border
#CBD5C9
text
#0D1609
muted
#7E847B

Preview Lab

Preview with #31D434

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

Preview Lab → · Contrast checker → · Palette generator →

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