#31B34F#31B34F

#31B34F is a light, vivid green. Relative luminance 0.335; OKLCH L 67.6% C 0.179 H 147.1°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#31B34F
RGBrgb(49, 179, 79)
HSLhsl(134, 57%, 45%)
HSVhsv(134, 73%, 70%)
CMYKcmyk(72.6%, 0%, 55.9%, 29.8%)
CIE-LABlab(64.53, -55.80, 40.71)
CIE-LCHlch(64.53, 69.07, 143.89°)
OKLaboklab(67.56% -0.1503 0.0972)
OKLCHoklch(67.56% 0.179 147.1)
XYZxyz(18.7966, 33.4556, 12.8626)
Luminance0.3346 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B34F #B33195
analogous
#54B331 #31B34F #31B390
triadic
#31B34F #4F31B3 #B34F31
tetradic
#31B34F #3154B3 #B33195 #B39031
square
#31B34F #3154B3 #B33195 #B39031
split-complementary
#31B34F #9031B3 #B33154
monochromatic
#175325 #24833A #31B34F #52D06F #82DD97

Accessibility & contrast

On white

2.73
#31B34F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#31B34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B34F
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B34F#FFFFFF#000000##000000
##31B34F1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A346
Deuteranopia (green-blind)
#A69857
Tritanopia (blue-blind)
#00AF9D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b34f;
/* rgb */ color: rgb(49, 179, 79);
/* oklch */ color: oklch(67.6% 0.179 147.1);
Tailwind
colors: {
  custom: {
    50: '#7ccb83',
    500: '#31b34f',
    950: '#000000',
  },
}
SCSS
$custom: #31b34f;
$custom-light: #7ccb83;
$custom-dark: #000000;
JSON
{
  "hex": "#31b34f",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 79
  },
  "hsl": {
    "h": 133.846,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67558,
    "c": 0.17897,
    "h": 147.1
  },
  "luminance": 0.33458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B34F

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

Preview Lab → · Contrast checker → · Palette generator →

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