#31A825#31A825

#31A825 is a light, vivid green. Relative luminance 0.288; OKLCH L 64.2% C 0.195 H 141.8°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#31A825
RGBrgb(49, 168, 37)
HSLhsl(115, 64%, 40%)
HSVhsv(115, 78%, 66%)
CMYKcmyk(70.8%, 0%, 78%, 34.1%)
CIE-LABlab(60.60, -56.38, 53.96)
CIE-LCHlch(60.60, 78.04, 136.26°)
OKLaboklab(64.18% -0.1537 0.1208)
OKLCHoklch(64.18% 0.195 141.8)
XYZxyz(15.6023, 28.7901, 6.4847)
Luminance0.2879 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A825 #9C25A8
analogous
#72A825 #31A825 #25A85B
triadic
#31A825 #2531A8 #A82531
tetradic
#31A825 #2572A8 #9C25A8 #A85B25
square
#31A825 #2572A8 #9C25A8 #A85B25
split-complementary
#31A825 #5B25A8 #A82572
monochromatic
#14440F #22761A #31A825 #45D337 #74DE69

Accessibility & contrast

On white

3.11
#31A825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#31A825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A825
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A825#FFFFFF#000000##000000
##31A8251.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9802
Deuteranopia (green-blind)
#9E8F34
Tritanopia (blue-blind)
#10A38F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a825;
/* rgb */ color: rgb(49, 168, 37);
/* oklch */ color: oklch(64.2% 0.195 141.8);
Tailwind
colors: {
  custom: {
    50: '#7bc36a',
    500: '#31a825',
    950: '#000000',
  },
}
SCSS
$custom: #31a825;
$custom-light: #7bc36a;
$custom-dark: #000000;
JSON
{
  "hex": "#31a825",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 37
  },
  "hsl": {
    "h": 114.504,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64182,
    "c": 0.19546,
    "h": 141.8
  },
  "luminance": 0.28792
}

Semantic roles & 50–950 ramp

primary
#31A825
secondary
#BB65C4
accent
#41E7D8
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31A825

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

Preview Lab → · Contrast checker → · Palette generator →

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