#31A535#31A535

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

Color values

HEX#31A535
RGBrgb(49, 165, 53)
HSLhsl(122, 54%, 42%)
HSVhsv(122, 70%, 65%)
CMYKcmyk(70.3%, 0%, 67.9%, 35.3%)
CIE-LABlab(59.72, -54.03, 47.05)
CIE-LCHlch(59.72, 71.64, 138.95°)
OKLaboklab(63.49% -0.1465 0.1084)
OKLCHoklch(63.49% 0.182 143.5)
XYZxyz(15.3634, 27.8186, 7.9273)
Luminance0.2782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A535 #A531A1
analogous
#67A531 #31A535 #31A56F
triadic
#31A535 #3531A5 #A53531
tetradic
#31A535 #3167A5 #A531A1 #A56F31
square
#31A535 #3167A5 #A531A1 #A56F31
split-complementary
#31A535 #6F31A5 #A53167
monochromatic
#154717 #237626 #31A535 #4AC94E #79D77C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A535#FFFFFF#000000##000000
##31A5351.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)
#A89626
Deuteranopia (green-blind)
#9B8C3F
Tritanopia (blue-blind)
#0BA08E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a535;
/* rgb */ color: rgb(49, 165, 53);
/* oklch */ color: oklch(63.5% 0.182 143.5);
Tailwind
colors: {
  custom: {
    50: '#7ac172',
    500: '#31a535',
    950: '#000000',
  },
}
SCSS
$custom: #31a535;
$custom-light: #7ac172;
$custom-dark: #000000;
JSON
{
  "hex": "#31a535",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 53
  },
  "hsl": {
    "h": 122.069,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.63494,
    "c": 0.18225,
    "h": 143.5
  },
  "luminance": 0.2782
}

Semantic roles & 50–950 ramp

primary
#31A535
secondary
#C072BD
accent
#4AD8DE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #31A535

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

Preview Lab → · Contrast checker → · Palette generator →

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