#31A52B#31A52B

#31A52B is a light, vivid green. Relative luminance 0.277; OKLCH L 63.4% C 0.189 H 142.4°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#31A52B
RGBrgb(49, 165, 43)
HSLhsl(117, 59%, 41%)
HSVhsv(117, 74%, 65%)
CMYKcmyk(70.3%, 0%, 73.9%, 35.3%)
CIE-LABlab(59.65, -54.94, 50.93)
CIE-LCHlch(59.65, 74.91, 137.17°)
OKLaboklab(63.41% -0.1494 0.1153)
OKLCHoklch(63.41% 0.189 142.4)
XYZxyz(15.1569, 27.7360, 6.8398)
Luminance0.2774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A52B #9F2BA5
analogous
#6EA52B #31A52B #2BA562
triadic
#31A52B #2B31A5 #A52B31
tetradic
#31A52B #2B6EA5 #9F2BA5 #A5622B
square
#31A52B #2B6EA5 #9F2BA5 #A5622B
split-complementary
#31A52B #622BA5 #A52B6E
monochromatic
#144412 #23741E #31A52B #47CD40 #76DA71

Accessibility & contrast

On white

3.21
#31A52B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#31A52B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A52B
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A52B#FFFFFF#000000##000000
##31A52B1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99514
Deuteranopia (green-blind)
#9B8C38
Tritanopia (blue-blind)
#10A08D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a52b;
/* rgb */ color: rgb(49, 165, 43);
/* oklch */ color: oklch(63.4% 0.189 142.4);
Tailwind
colors: {
  custom: {
    50: '#7ac16c',
    500: '#31a52b',
    950: '#000000',
  },
}
SCSS
$custom: #31a52b;
$custom-light: #7ac16c;
$custom-dark: #000000;
JSON
{
  "hex": "#31a52b",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 43
  },
  "hsl": {
    "h": 117.049,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.63408,
    "c": 0.18875,
    "h": 142.4
  },
  "luminance": 0.27738
}

Semantic roles & 50–950 ramp

primary
#31A52B
secondary
#BD6BC1
accent
#46E2DA
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #31A52B

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

Preview Lab → · Contrast checker → · Palette generator →

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