#31A239#31A239

#31A239 is a light, vivid green. Relative luminance 0.268; OKLCH L 62.7% C 0.176 H 144.1°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#31A239
RGBrgb(49, 162, 57)
HSLhsl(124, 54%, 41%)
HSVhsv(124, 70%, 64%)
CMYKcmyk(69.8%, 0%, 64.8%, 36.5%)
CIE-LABlab(58.78, -52.57, 44.28)
CIE-LCHlch(58.78, 68.73, 139.89°)
OKLaboklab(62.72% -0.1423 0.103)
OKLCHoklch(62.72% 0.176 144.1)
XYZxyz(14.9245, 26.7874, 8.2541)
Luminance0.2679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A239 #A2319A
analogous
#62A231 #31A239 #31A272
triadic
#31A239 #3931A2 #A23931
tetradic
#31A239 #3162A2 #A2319A #A27231
square
#31A239 #3162A2 #A2319A #A27231
split-complementary
#31A239 #7231A2 #A23162
monochromatic
#154418 #237328 #31A239 #48C851 #77D67E

Accessibility & contrast

On white

3.30
#31A239 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#31A239 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A239
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A239#FFFFFF#000000##000000
##31A2391.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5932C
Deuteranopia (green-blind)
#988A42
Tritanopia (blue-blind)
#0C9E8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #31a239;
/* rgb */ color: rgb(49, 162, 57);
/* oklch */ color: oklch(62.7% 0.176 144.1);
Tailwind
colors: {
  custom: {
    50: '#79bf74',
    500: '#31a239',
    950: '#000000',
  },
}
SCSS
$custom: #31a239;
$custom-light: #79bf74;
$custom-dark: #000000;
JSON
{
  "hex": "#31a239",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 124.248,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.62721,
    "c": 0.17569,
    "h": 144.1
  },
  "luminance": 0.26789
}

Semantic roles & 50–950 ramp

primary
#31A239
secondary
#BE71B9
accent
#4BD3DD
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #31A239

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

Preview Lab → · Contrast checker → · Palette generator →

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