#31A25F#31A25F

#31A25F is a light, vivid green. Relative luminance 0.273; OKLCH L 63.3% C 0.142 H 153.0°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#31A25F
RGBrgb(49, 162, 95)
HSLhsl(144, 54%, 41%)
HSVhsv(144, 70%, 64%)
CMYKcmyk(69.8%, 0%, 41.4%, 36.5%)
CIE-LABlab(59.27, -46.92, 25.93)
CIE-LCHlch(59.27, 53.60, 151.07°)
OKLaboklab(63.29% -0.1266 0.0644)
OKLCHoklch(63.29% 0.142 153)
XYZxyz(16.2511, 27.3181, 15.2407)
Luminance0.2732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A25F #A23174
analogous
#3BA231 #31A25F #31A298
triadic
#31A25F #5F31A2 #A25F31
tetradic
#31A25F #313BA2 #A23174 #A29831
square
#31A25F #313BA2 #A23174 #A29831
split-complementary
#31A25F #9831A2 #A2313B
monochromatic
#154428 #237343 #31A25F #48C87C #77D69E

Accessibility & contrast

On white

3.25
#31A25F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#31A25F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A25F
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A25F#FFFFFF#000000##000000
##31A25F1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2955A
Deuteranopia (green-blind)
#948B63
Tritanopia (blue-blind)
#00A091
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #31a25f;
/* rgb */ color: rgb(49, 162, 95);
/* oklch */ color: oklch(63.3% 0.142 153.0);
Tailwind
colors: {
  custom: {
    50: '#78be8d',
    500: '#31a25f',
    950: '#000000',
  },
}
SCSS
$custom: #31a25f;
$custom-light: #78be8d;
$custom-dark: #000000;
JSON
{
  "hex": "#31a25f",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 95
  },
  "hsl": {
    "h": 144.425,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.63285,
    "c": 0.14201,
    "h": 153
  },
  "luminance": 0.2732
}

Semantic roles & 50–950 ramp

primary
#31A25F
secondary
#BE719F
accent
#4BA1DD
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A25F

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

Preview Lab → · Contrast checker → · Palette generator →

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