#31AF25#31AF25

#31AF25 is a light, highly saturated green. Relative luminance 0.314; OKLCH L 66.1% C 0.203 H 141.9°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#31AF25
RGBrgb(49, 175, 37)
HSLhsl(115, 65%, 42%)
HSVhsv(115, 79%, 69%)
CMYKcmyk(72%, 0%, 78.9%, 31.4%)
CIE-LABlab(62.88, -58.68, 56.16)
CIE-LCHlch(62.88, 81.23, 136.26°)
OKLaboklab(66.08% -0.1599 0.1254)
OKLCHoklch(66.08% 0.203 141.9)
XYZxyz(16.9296, 31.4446, 6.9271)
Luminance0.3145 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF25 #A325AF
analogous
#76AF25 #31AF25 #25AF5E
triadic
#31AF25 #2531AF #AF2531
tetradic
#31AF25 #2576AF #A325AF #AF5E25
square
#31AF25 #2576AF #A325AF #AF5E25
split-complementary
#31AF25 #5E25AF #AF2576
monochromatic
#154A10 #237C1A #31AF25 #49D63C #78E06E

Accessibility & contrast

On white

2.88
#31AF25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#31AF25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF25
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF25#FFFFFF#000000##000000
##31AF251.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#A59435
Tritanopia (blue-blind)
#08A995
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31af25;
/* rgb */ color: rgb(49, 175, 37);
/* oklch */ color: oklch(66.1% 0.203 141.9);
Tailwind
colors: {
  custom: {
    50: '#7dc86b',
    500: '#31af25',
    950: '#000000',
  },
}
SCSS
$custom: #31af25;
$custom-light: #7dc86b;
$custom-dark: #000000;
JSON
{
  "hex": "#31af25",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 37
  },
  "hsl": {
    "h": 114.783,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66079,
    "c": 0.20318,
    "h": 141.9
  },
  "luminance": 0.31446
}

Semantic roles & 50–950 ramp

primary
#31AF25
secondary
#BF69C7
accent
#40E8D9
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31AF25

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

Preview Lab → · Contrast checker → · Palette generator →

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