#31B24F#31B24F

#31B24F is a light, vivid green. Relative luminance 0.331; OKLCH L 67.3% C 0.178 H 147.2°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#31B24F
RGBrgb(49, 178, 79)
HSLhsl(134, 57%, 45%)
HSVhsv(134, 72%, 70%)
CMYKcmyk(72.5%, 0%, 55.6%, 30.2%)
CIE-LABlab(64.21, -55.45, 40.32)
CIE-LCHlch(64.21, 68.56, 143.97°)
OKLaboklab(67.29% -0.1493 0.0963)
OKLCHoklch(67.29% 0.178 147.2)
XYZxyz(18.5969, 33.0562, 12.7960)
Luminance0.3306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B24F #B23194
analogous
#54B231 #31B24F #31B28F
triadic
#31B24F #4F31B2 #B24F31
tetradic
#31B24F #3154B2 #B23194 #B28F31
square
#31B24F #3154B2 #B23194 #B28F31
split-complementary
#31B24F #8F31B2 #B23154
monochromatic
#175224 #24823A #31B24F #51CF6E #81DC96

Accessibility & contrast

On white

2.76
#31B24F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#31B24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B24F
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B24F#FFFFFF#000000##000000
##31B24F1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A246
Deuteranopia (green-blind)
#A59757
Tritanopia (blue-blind)
#00AE9C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b24f;
/* rgb */ color: rgb(49, 178, 79);
/* oklch */ color: oklch(67.3% 0.178 147.2);
Tailwind
colors: {
  custom: {
    50: '#7cca83',
    500: '#31b24f',
    950: '#000000',
  },
}
SCSS
$custom: #31b24f;
$custom-light: #7cca83;
$custom-dark: #000000;
JSON
{
  "hex": "#31b24f",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 79
  },
  "hsl": {
    "h": 133.953,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67292,
    "c": 0.17771,
    "h": 147.2
  },
  "luminance": 0.33058
}

Semantic roles & 50–950 ramp

primary
#31B24F
secondary
#C579B4
accent
#48BDE0
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31B24F

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

Preview Lab → · Contrast checker → · Palette generator →

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