#31A53B#31A53B

#31A53B is a light, vivid green. Relative luminance 0.279; OKLCH L 63.6% C 0.178 H 144.3°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#31A53B
RGBrgb(49, 165, 59)
HSLhsl(125, 54%, 42%)
HSVhsv(125, 70%, 65%)
CMYKcmyk(70.3%, 0%, 64.2%, 35.3%)
CIE-LABlab(59.78, -53.40, 44.51)
CIE-LCHlch(59.78, 69.51, 140.19°)
OKLaboklab(63.56% -0.1445 0.1037)
OKLCHoklch(63.56% 0.178 144.3)
XYZxyz(15.5102, 27.8773, 8.7003)
Luminance0.2788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A53B #A5319B
analogous
#61A531 #31A53B #31A575
triadic
#31A53B #3B31A5 #A53B31
tetradic
#31A53B #3161A5 #A5319B #A57531
square
#31A53B #3161A5 #A5319B #A57531
split-complementary
#31A53B #7531A5 #A53161
monochromatic
#154719 #23762A #31A53B #4AC955 #79D781

Accessibility & contrast

On white

3.19
#31A53B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#31A53B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A53B
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A53B#FFFFFF#000000##000000
##31A53B1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8962E
Deuteranopia (green-blind)
#9A8C44
Tritanopia (blue-blind)
#06A18F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a53b;
/* rgb */ color: rgb(49, 165, 59);
/* oklch */ color: oklch(63.6% 0.178 144.3);
Tailwind
colors: {
  custom: {
    50: '#7ac175',
    500: '#31a53b',
    950: '#000000',
  },
}
SCSS
$custom: #31a53b;
$custom-light: #7ac175;
$custom-dark: #000000;
JSON
{
  "hex": "#31a53b",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 59
  },
  "hsl": {
    "h": 125.172,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.63556,
    "c": 0.17785,
    "h": 144.3
  },
  "luminance": 0.27879
}

Semantic roles & 50–950 ramp

primary
#31A53B
secondary
#C072B9
accent
#4AD1DE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #31A53B

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

Preview Lab → · Contrast checker → · Palette generator →

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