#31A241#31A241

#31A241 is a light, vivid green. Relative luminance 0.269; OKLCH L 62.8% C 0.169 H 145.4°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#31A241
RGBrgb(49, 162, 65)
HSLhsl(128, 54%, 41%)
HSVhsv(128, 70%, 64%)
CMYKcmyk(69.8%, 0%, 59.9%, 36.5%)
CIE-LABlab(58.86, -51.62, 40.70)
CIE-LCHlch(58.86, 65.74, 141.74°)
OKLaboklab(62.81% -0.1394 0.0961)
OKLCHoklch(62.81% 0.169 145.4)
XYZxyz(15.1401, 26.8736, 9.3892)
Luminance0.2687 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A241 #A23192
analogous
#5AA231 #31A241 #31A27A
triadic
#31A241 #4131A2 #A24131
tetradic
#31A241 #315AA2 #A23192 #A27A31
square
#31A241 #315AA2 #A23192 #A27A31
split-complementary
#31A241 #7A31A2 #A2315A
monochromatic
#15441B #23732E #31A241 #48C85A #77D685

Accessibility & contrast

On white

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

On black

6.37
#31A241 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A241
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A241#FFFFFF#000000##000000
##31A2411.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59337
Deuteranopia (green-blind)
#978A49
Tritanopia (blue-blind)
#059E8D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a241;
/* rgb */ color: rgb(49, 162, 65);
/* oklch */ color: oklch(62.8% 0.169 145.4);
Tailwind
colors: {
  custom: {
    50: '#79bf79',
    500: '#31a241',
    950: '#000000',
  },
}
SCSS
$custom: #31a241;
$custom-light: #79bf79;
$custom-dark: #000000;
JSON
{
  "hex": "#31a241",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 65
  },
  "hsl": {
    "h": 128.496,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.62813,
    "c": 0.16934,
    "h": 145.4
  },
  "luminance": 0.26875
}

Semantic roles & 50–950 ramp

primary
#31A241
secondary
#BE71B3
accent
#4BC8DD
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #31A241

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

Preview Lab → · Contrast checker → · Palette generator →

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