#31A533#31A533

#31A533 is a light, vivid green. Relative luminance 0.278; OKLCH L 63.5% C 0.184 H 143.2°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#31A533
RGBrgb(49, 165, 51)
HSLhsl(121, 54%, 42%)
HSVhsv(121, 70%, 65%)
CMYKcmyk(70.3%, 0%, 69.1%, 35.3%)
CIE-LABlab(59.71, -54.23, 47.86)
CIE-LCHlch(59.71, 72.33, 138.57°)
OKLaboklab(63.48% -0.1471 0.1099)
OKLCHoklch(63.48% 0.184 143.2)
XYZxyz(15.3184, 27.8006, 7.6901)
Luminance0.2780 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A533 #A531A3
analogous
#69A531 #31A533 #31A56D
triadic
#31A533 #3331A5 #A53331
tetradic
#31A533 #3169A5 #A531A3 #A56D31
square
#31A533 #3169A5 #A531A3 #A56D31
split-complementary
#31A533 #6D31A5 #A53169
monochromatic
#154716 #237624 #31A533 #4AC94C #79D77B

Accessibility & contrast

On white

3.20
#31A533 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#31A533 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A533
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A533#FFFFFF#000000##000000
##31A5331.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89523
Deuteranopia (green-blind)
#9B8C3E
Tritanopia (blue-blind)
#0CA08E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a533;
/* rgb */ color: rgb(49, 165, 51);
/* oklch */ color: oklch(63.5% 0.184 143.2);
Tailwind
colors: {
  custom: {
    50: '#7ac171',
    500: '#31a533',
    950: '#000000',
  },
}
SCSS
$custom: #31a533;
$custom-light: #7ac171;
$custom-dark: #000000;
JSON
{
  "hex": "#31a533",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 51
  },
  "hsl": {
    "h": 121.034,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.63476,
    "c": 0.18363,
    "h": 143.2
  },
  "luminance": 0.27802
}

Semantic roles & 50–950 ramp

primary
#31A533
secondary
#C072BE
accent
#4ADBDE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #31A533

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

Preview Lab → · Contrast checker → · Palette generator →

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