#31B264#31B264

#31B264 is a light, vivid green. Relative luminance 0.334; OKLCH L 67.6% C 0.159 H 152.1°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#31B264
RGBrgb(49, 178, 100)
HSLhsl(144, 57%, 45%)
HSVhsv(144, 72%, 70%)
CMYKcmyk(72.5%, 0%, 43.8%, 30.2%)
CIE-LABlab(64.49, -52.13, 30.09)
CIE-LCHlch(64.49, 60.19, 150.01°)
OKLaboklab(67.62% -0.1404 0.0742)
OKLCHoklch(67.62% 0.159 152.1)
XYZxyz(19.4856, 33.4116, 17.4763)
Luminance0.3341 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B264 #B2317F
analogous
#3FB231 #31B264 #31B2A5
triadic
#31B264 #6431B2 #B26431
tetradic
#31B264 #313FB2 #B2317F #B2A531
square
#31B264 #313FB2 #B2317F #B2A531
split-complementary
#31B264 #A531B2 #B2313F
monochromatic
#17522E #248249 #31B264 #51CF83 #81DCA5

Accessibility & contrast

On white

2.73
#31B264 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#31B264 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B264
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B264#FFFFFF#000000##000000
##31B2641.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A35E
Deuteranopia (green-blind)
#A39869
Tritanopia (blue-blind)
#00AF9F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b264;
/* rgb */ color: rgb(49, 178, 100);
/* oklch */ color: oklch(67.6% 0.159 152.1);
Tailwind
colors: {
  custom: {
    50: '#7bca91',
    500: '#31b264',
    950: '#000000',
  },
}
SCSS
$custom: #31b264;
$custom-light: #7bca91;
$custom-dark: #000000;
JSON
{
  "hex": "#31b264",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 100
  },
  "hsl": {
    "h": 143.721,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67622,
    "c": 0.15879,
    "h": 152.1
  },
  "luminance": 0.33414
}

Semantic roles & 50–950 ramp

primary
#31B264
secondary
#C579A7
accent
#48A4E0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130D
muted
#7C827D

Preview Lab

Preview with #31B264

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

Preview Lab → · Contrast checker → · Palette generator →

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