#31B461#31B461

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

Color values

HEX#31B461
RGBrgb(49, 180, 97)
HSLhsl(142, 57%, 45%)
HSVhsv(142, 73%, 71%)
CMYKcmyk(72.8%, 0%, 46.1%, 29.4%)
CIE-LABlab(65.09, -53.39, 32.41)
CIE-LCHlch(65.09, 62.46, 148.74°)
OKLaboklab(68.1% -0.1437 0.0795)
OKLCHoklch(68.1% 0.164 151)
XYZxyz(19.7439, 34.1563, 16.8592)
Luminance0.3416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B461 #B43184
analogous
#42B431 #31B461 #31B4A3
triadic
#31B461 #6131B4 #B46131
tetradic
#31B461 #3142B4 #B43184 #B4A331
square
#31B461 #3142B4 #B43184 #B4A331
split-complementary
#31B461 #A331B4 #B43142
monochromatic
#17542D #248447 #31B461 #52D080 #82DDA4

Accessibility & contrast

On white

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

On black

7.83
#31B461 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B461
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B461#FFFFFF#000000##000000
##31B4611.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b461;
/* rgb */ color: rgb(49, 180, 97);
/* oklch */ color: oklch(68.1% 0.164 151.0);
Tailwind
colors: {
  custom: {
    50: '#7ccb8f',
    500: '#31b461',
    950: '#000000',
  },
}
SCSS
$custom: #31b461;
$custom-light: #7ccb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#31b461",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 97
  },
  "hsl": {
    "h": 141.985,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68097,
    "c": 0.16419,
    "h": 151
  },
  "luminance": 0.34159
}

Semantic roles & 50–950 ramp

primary
#31B461
secondary
#C67BAB
accent
#47A8E0
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B461

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

Preview Lab → · Contrast checker → · Palette generator →

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