#31A266#31A266

#31A266 is a light, vivid green. Relative luminance 0.275; OKLCH L 63.4% C 0.135 H 155.6°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#31A266
RGBrgb(49, 162, 102)
HSLhsl(148, 54%, 41%)
HSVhsv(148, 70%, 64%)
CMYKcmyk(69.8%, 0%, 37%, 36.5%)
CIE-LABlab(59.39, -45.56, 22.30)
CIE-LCHlch(59.39, 50.73, 153.92°)
OKLaboklab(63.43% -0.1233 0.0559)
OKLCHoklch(63.43% 0.135 155.6)
XYZxyz(16.5837, 27.4511, 16.9924)
Luminance0.2745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A266 #A2316D
analogous
#34A231 #31A266 #31A29F
triadic
#31A266 #6631A2 #A26631
tetradic
#31A266 #3134A2 #A2316D #A29F31
square
#31A266 #3134A2 #A2316D #A29F31
split-complementary
#31A266 #9F31A2 #A23134
monochromatic
#15442B #237348 #31A266 #48C884 #77D6A4

Accessibility & contrast

On white

3.24
#31A266 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#31A266 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A266
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A266#FFFFFF#000000##000000
##31A2661.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19562
Deuteranopia (green-blind)
#938B6A
Tritanopia (blue-blind)
#00A093
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #31a266;
/* rgb */ color: rgb(49, 162, 102);
/* oklch */ color: oklch(63.4% 0.135 155.6);
Tailwind
colors: {
  custom: {
    50: '#78be92',
    500: '#31a266',
    950: '#000000',
  },
}
SCSS
$custom: #31a266;
$custom-light: #78be92;
$custom-dark: #000000;
JSON
{
  "hex": "#31a266",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 102
  },
  "hsl": {
    "h": 148.142,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.63426,
    "c": 0.13537,
    "h": 155.6
  },
  "luminance": 0.27453
}

Semantic roles & 50–950 ramp

primary
#31A266
secondary
#BE719A
accent
#4B98DD
background
#F7FBF9
surface
#EEF7F1
border
#C9D0CB
text
#0A120D
muted
#7C817E

Preview Lab

Preview with #31A266

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

Preview Lab → · Contrast checker → · Palette generator →

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