#31B265#31B265

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

Color values

HEX#31B265
RGBrgb(49, 178, 101)
HSLhsl(144, 57%, 45%)
HSVhsv(144, 72%, 70%)
CMYKcmyk(72.5%, 0%, 43.3%, 30.2%)
CIE-LABlab(64.51, -51.95, 29.59)
CIE-LCHlch(64.51, 59.79, 150.34°)
OKLaboklab(67.64% -0.1399 0.0731)
OKLCHoklch(67.64% 0.158 152.4)
XYZxyz(19.5343, 33.4311, 17.7327)
Luminance0.3343 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B265 #B2317E
analogous
#3EB231 #31B265 #31B2A6
triadic
#31B265 #6531B2 #B26531
tetradic
#31B265 #313EB2 #B2317E #B2A631
square
#31B265 #313EB2 #B2317E #B2A631
split-complementary
#31B265 #A631B2 #B2313E
monochromatic
#17522F #24824A #31B265 #51CF84 #81DCA6

Accessibility & contrast

On white

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

On black

7.69
#31B265 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B265
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B265#FFFFFF#000000##000000
##31B2651.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b265;
/* rgb */ color: rgb(49, 178, 101);
/* oklch */ color: oklch(67.6% 0.158 152.4);
Tailwind
colors: {
  custom: {
    50: '#7bca92',
    500: '#31b265',
    950: '#000000',
  },
}
SCSS
$custom: #31b265;
$custom-light: #7bca92;
$custom-dark: #000000;
JSON
{
  "hex": "#31b265",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 101
  },
  "hsl": {
    "h": 144.186,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.6764,
    "c": 0.15787,
    "h": 152.4
  },
  "luminance": 0.33433
}

Semantic roles & 50–950 ramp

primary
#31B265
secondary
#C579A7
accent
#48A3E0
background
#F8FCF9
surface
#EFF8F1
border
#CAD1CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #31B265

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

Preview Lab → · Contrast checker → · Palette generator →

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