#31B465#31B465

#31B465 is a light, vivid green. Relative luminance 0.342; OKLCH L 68.2% C 0.161 H 152.1°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#31B465
RGBrgb(49, 180, 101)
HSLhsl(144, 57%, 45%)
HSVhsv(144, 73%, 71%)
CMYKcmyk(72.8%, 0%, 43.9%, 29.4%)
CIE-LABlab(65.15, -52.70, 30.41)
CIE-LCHlch(65.15, 60.85, 150.01°)
OKLaboklab(68.17% -0.1419 0.075)
OKLCHoklch(68.17% 0.161 152.1)
XYZxyz(19.9351, 34.2328, 17.8664)
Luminance0.3423 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B465 #B43180
analogous
#3EB431 #31B465 #31B4A7
triadic
#31B465 #6531B4 #B46531
tetradic
#31B465 #313EB4 #B43180 #B4A731
square
#31B465 #313EB4 #B43180 #B4A731
split-complementary
#31B465 #A731B4 #B4313E
monochromatic
#17542F #24844A #31B465 #52D084 #82DDA6

Accessibility & contrast

On white

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

On black

7.85
#31B465 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B465
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B465#FFFFFF#000000##000000
##31B4651.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A55F
Deuteranopia (green-blind)
#A59A6A
Tritanopia (blue-blind)
#00B1A1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b465;
/* rgb */ color: rgb(49, 180, 101);
/* oklch */ color: oklch(68.2% 0.161 152.1);
Tailwind
colors: {
  custom: {
    50: '#7ccb92',
    500: '#31b465',
    950: '#000000',
  },
}
SCSS
$custom: #31b465;
$custom-light: #7ccb92;
$custom-dark: #000000;
JSON
{
  "hex": "#31b465",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 101
  },
  "hsl": {
    "h": 143.817,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68167,
    "c": 0.16051,
    "h": 152.1
  },
  "luminance": 0.34235
}

Semantic roles & 50–950 ramp

primary
#31B465
secondary
#C67BA8
accent
#47A4E0
background
#F8FCF9
surface
#EFF9F1
border
#CAD2CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #31B465

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

Preview Lab → · Contrast checker → · Palette generator →

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