#31A261#31A261

#31A261 is a light, vivid green. Relative luminance 0.274; OKLCH L 63.3% C 0.140 H 153.7°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#31A261
RGBrgb(49, 162, 97)
HSLhsl(145, 54%, 41%)
HSVhsv(145, 70%, 64%)
CMYKcmyk(69.8%, 0%, 40.1%, 36.5%)
CIE-LABlab(59.30, -46.54, 24.90)
CIE-LCHlch(59.30, 52.78, 151.85°)
OKLaboklab(63.32% -0.1256 0.062)
OKLCHoklch(63.32% 0.14 153.7)
XYZxyz(16.3432, 27.3549, 15.7257)
Luminance0.2736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A261 #A23172
analogous
#39A231 #31A261 #31A29A
triadic
#31A261 #6131A2 #A26131
tetradic
#31A261 #3139A2 #A23172 #A29A31
square
#31A261 #3139A2 #A23172 #A29A31
split-complementary
#31A261 #9A31A2 #A23139
monochromatic
#154429 #237345 #31A261 #48C87F #77D6A0

Accessibility & contrast

On white

3.25
#31A261 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#31A261 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A261
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A261#FFFFFF#000000##000000
##31A2611.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2955D
Deuteranopia (green-blind)
#948B65
Tritanopia (blue-blind)
#00A092
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #31a261;
/* rgb */ color: rgb(49, 162, 97);
/* oklch */ color: oklch(63.3% 0.140 153.7);
Tailwind
colors: {
  custom: {
    50: '#78be8e',
    500: '#31a261',
    950: '#000000',
  },
}
SCSS
$custom: #31a261;
$custom-light: #78be8e;
$custom-dark: #000000;
JSON
{
  "hex": "#31a261",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 97
  },
  "hsl": {
    "h": 145.487,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.63324,
    "c": 0.1401,
    "h": 153.7
  },
  "luminance": 0.27357
}

Semantic roles & 50–950 ramp

primary
#31A261
secondary
#BE719D
accent
#4B9FDD
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A261

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

Preview Lab → · Contrast checker → · Palette generator →

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