#31A725#31A725

#31A725 is a light, vivid green. Relative luminance 0.284; OKLCH L 63.9% C 0.194 H 141.8°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#31A725
RGBrgb(49, 167, 37)
HSLhsl(114, 64%, 40%)
HSVhsv(114, 78%, 65%)
CMYKcmyk(70.7%, 0%, 77.8%, 34.5%)
CIE-LABlab(60.27, -56.05, 53.64)
CIE-LCHlch(60.27, 77.58, 136.26°)
OKLaboklab(63.91% -0.1528 0.1201)
OKLCHoklch(63.91% 0.194 141.8)
XYZxyz(15.4184, 28.4223, 6.4234)
Luminance0.2842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A725 #9B25A7
analogous
#72A725 #31A725 #25A75A
triadic
#31A725 #2531A7 #A72531
tetradic
#31A725 #2572A7 #9B25A7 #A75A25
square
#31A725 #2572A7 #9B25A7 #A75A25
split-complementary
#31A725 #5A25A7 #A72572
monochromatic
#14430F #22751A #31A725 #45D337 #73DE69

Accessibility & contrast

On white

3.14
#31A725 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#31A725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A725
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A725#FFFFFF#000000##000000
##31A7251.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9702
Deuteranopia (green-blind)
#9E8E34
Tritanopia (blue-blind)
#11A28F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a725;
/* rgb */ color: rgb(49, 167, 37);
/* oklch */ color: oklch(63.9% 0.194 141.8);
Tailwind
colors: {
  custom: {
    50: '#7bc26a',
    500: '#31a725',
    950: '#000000',
  },
}
SCSS
$custom: #31a725;
$custom-light: #7bc26a;
$custom-dark: #000000;
JSON
{
  "hex": "#31a725",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 37
  },
  "hsl": {
    "h": 114.462,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.6391,
    "c": 0.19434,
    "h": 141.8
  },
  "luminance": 0.28424
}

Semantic roles & 50–950 ramp

primary
#31A725
secondary
#BB64C4
accent
#41E7D7
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #31A725

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

Preview Lab → · Contrast checker → · Palette generator →

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