#31D362#31D362

#31D362 is a light, highly saturated green. Relative luminance 0.481; OKLCH L 76.2% C 0.202 H 148.4°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#31D362
RGBrgb(49, 211, 98)
HSLhsl(138, 65%, 51%)
HSVhsv(138, 77%, 83%)
CMYKcmyk(76.8%, 0%, 53.6%, 17.3%)
CIE-LABlab(74.90, -64.09, 44.13)
CIE-LCHlch(74.90, 77.81, 145.45°)
OKLaboklab(76.22% -0.1722 0.1059)
OKLCHoklch(76.22% 0.202 148.4)
XYZxyz(26.7633, 48.1201, 19.4305)
Luminance0.4812 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31D362 #D331A2
analogous
#51D331 #31D362 #31D3B3
triadic
#31D362 #6231D3 #D36231
tetradic
#31D362 #3151D3 #D331A2 #D3B331
square
#31D362 #3151D3 #D331A2 #D3B331
split-complementary
#31D362 #B331D3 #D33151
monochromatic
#187133 #23A44A #31D362 #63DE88 #96E9AF

Accessibility & contrast

On white

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

On black

10.62
#31D362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31D362
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31D362#FFFFFF#000000##000000
##31D3621.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C058
Deuteranopia (green-blind)
#C3B36B
Tritanopia (blue-blind)
#00CFB9
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #31d362;
/* rgb */ color: rgb(49, 211, 98);
/* oklch */ color: oklch(76.2% 0.202 148.4);
Tailwind
colors: {
  custom: {
    50: '#82e291',
    500: '#31d362',
    950: '#000000',
  },
}
SCSS
$custom: #31d362;
$custom-light: #82e291;
$custom-dark: #000000;
JSON
{
  "hex": "#31d362",
  "rgb": {
    "r": 49,
    "g": 211,
    "b": 98
  },
  "hsl": {
    "h": 138.148,
    "s": 64.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76222,
    "c": 0.2022,
    "h": 148.4
  },
  "luminance": 0.48123
}

Semantic roles & 50–950 ramp

primary
#31D362
secondary
#D48CBE
accent
#40B5E8
background
#F8FEF9
surface
#F0FCF1
border
#CBD5CB
text
#0C150D
muted
#7D847E

Preview Lab

Preview with #31D362

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

Preview Lab → · Contrast checker → · Palette generator →

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