#31A262#31A262

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

Color values

HEX#31A262
RGBrgb(49, 162, 98)
HSLhsl(146, 54%, 41%)
HSVhsv(146, 70%, 64%)
CMYKcmyk(69.8%, 0%, 39.5%, 36.5%)
CIE-LABlab(59.32, -46.35, 24.38)
CIE-LCHlch(59.32, 52.37, 152.25°)
OKLaboklab(63.34% -0.1252 0.0608)
OKLCHoklch(63.34% 0.139 154.1)
XYZxyz(16.3901, 27.3737, 15.9728)
Luminance0.2737 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A262 #A23171
analogous
#38A231 #31A262 #31A29B
triadic
#31A262 #6231A2 #A26231
tetradic
#31A262 #3138A2 #A23171 #A29B31
square
#31A262 #3138A2 #A23171 #A29B31
split-complementary
#31A262 #9B31A2 #A23138
monochromatic
#154429 #237346 #31A262 #48C880 #77D6A0

Accessibility & contrast

On white

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

On black

6.48
#31A262 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A262
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A262#FFFFFF#000000##000000
##31A2621.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31a262;
/* rgb */ color: rgb(49, 162, 98);
/* oklch */ color: oklch(63.3% 0.139 154.1);
Tailwind
colors: {
  custom: {
    50: '#78be8f',
    500: '#31a262',
    950: '#000000',
  },
}
SCSS
$custom: #31a262;
$custom-light: #78be8f;
$custom-dark: #000000;
JSON
{
  "hex": "#31a262",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 98
  },
  "hsl": {
    "h": 146.018,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.63344,
    "c": 0.13916,
    "h": 154.1
  },
  "luminance": 0.27375
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31A262

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

Preview Lab → · Contrast checker → · Palette generator →

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