#31A248#31A248

#31A248 is a light, vivid green. Relative luminance 0.270; OKLCH L 62.9% C 0.163 H 146.8°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#31A248
RGBrgb(49, 162, 72)
HSLhsl(132, 54%, 41%)
HSVhsv(132, 70%, 64%)
CMYKcmyk(69.8%, 0%, 55.6%, 36.5%)
CIE-LABlab(58.94, -50.68, 37.42)
CIE-LCHlch(58.94, 63.00, 143.56°)
OKLaboklab(62.91% -0.1367 0.0895)
OKLCHoklch(62.91% 0.163 146.8)
XYZxyz(15.3556, 26.9598, 10.5241)
Luminance0.2696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A248 #A2318B
analogous
#53A231 #31A248 #31A281
triadic
#31A248 #4831A2 #A24831
tetradic
#31A248 #3153A2 #A2318B #A28131
square
#31A248 #3153A2 #A2318B #A28131
split-complementary
#31A248 #8131A2 #A23153
monochromatic
#15441E #237333 #31A248 #48C862 #77D68B

Accessibility & contrast

On white

3.29
#31A248 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#31A248 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A248
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A248#FFFFFF#000000##000000
##31A2481.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49440
Deuteranopia (green-blind)
#978A4F
Tritanopia (blue-blind)
#009E8E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a248;
/* rgb */ color: rgb(49, 162, 72);
/* oklch */ color: oklch(62.9% 0.163 146.8);
Tailwind
colors: {
  custom: {
    50: '#78bf7d',
    500: '#31a248',
    950: '#000000',
  },
}
SCSS
$custom: #31a248;
$custom-light: #78bf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#31a248",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 72
  },
  "hsl": {
    "h": 132.212,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.62905,
    "c": 0.16336,
    "h": 146.8
  },
  "luminance": 0.26962
}

Semantic roles & 50–950 ramp

primary
#31A248
secondary
#BE71AE
accent
#4BBFDD
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#0A120A
muted
#7C817C

Preview Lab

Preview with #31A248

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

Preview Lab → · Contrast checker → · Palette generator →

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