#31B462#31B462

#31B462 is a light, vivid green. Relative luminance 0.342; OKLCH L 68.1% C 0.163 H 151.3°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#31B462
RGBrgb(49, 180, 98)
HSLhsl(142, 57%, 45%)
HSVhsv(142, 73%, 71%)
CMYKcmyk(72.8%, 0%, 45.6%, 29.4%)
CIE-LABlab(65.10, -53.22, 31.91)
CIE-LCHlch(65.10, 62.05, 149.05°)
OKLaboklab(68.11% -0.1432 0.0784)
OKLCHoklch(68.11% 0.163 151.3)
XYZxyz(19.7908, 34.1751, 17.1063)
Luminance0.3418 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B462 #B43183
analogous
#41B431 #31B462 #31B4A4
triadic
#31B462 #6231B4 #B46231
tetradic
#31B462 #3141B4 #B43183 #B4A431
square
#31B462 #3141B4 #B43183 #B4A431
split-complementary
#31B462 #A431B4 #B43141
monochromatic
#17542E #248448 #31B462 #52D081 #82DDA4

Accessibility & contrast

On white

2.68
#31B462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#31B462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B462
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B462#FFFFFF#000000##000000
##31B4621.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A55C
Deuteranopia (green-blind)
#A59A68
Tritanopia (blue-blind)
#00B1A0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b462;
/* rgb */ color: rgb(49, 180, 98);
/* oklch */ color: oklch(68.1% 0.163 151.3);
Tailwind
colors: {
  custom: {
    50: '#7ccb90',
    500: '#31b462',
    950: '#000000',
  },
}
SCSS
$custom: #31b462;
$custom-light: #7ccb90;
$custom-dark: #000000;
JSON
{
  "hex": "#31b462",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 98
  },
  "hsl": {
    "h": 142.443,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68114,
    "c": 0.16328,
    "h": 151.3
  },
  "luminance": 0.34177
}

Semantic roles & 50–950 ramp

primary
#31B462
secondary
#C67BAA
accent
#47A7E0
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B462

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

Preview Lab → · Contrast checker → · Palette generator →

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