#31B34B#31B34B

#31B34B is a light, vivid green. Relative luminance 0.334; OKLCH L 67.5% C 0.182 H 146.4°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#31B34B
RGBrgb(49, 179, 75)
HSLhsl(132, 57%, 45%)
HSVhsv(132, 73%, 70%)
CMYKcmyk(72.6%, 0%, 58.1%, 29.8%)
CIE-LABlab(64.48, -56.33, 42.56)
CIE-LCHlch(64.48, 70.60, 142.93°)
OKLaboklab(67.51% -0.1519 0.1009)
OKLCHoklch(67.51% 0.182 146.4)
XYZxyz(18.6554, 33.3991, 12.1187)
Luminance0.3340 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B34B #B33199
analogous
#58B331 #31B34B #31B38C
triadic
#31B34B #4B31B3 #B34B31
tetradic
#31B34B #3158B3 #B33199 #B38C31
square
#31B34B #3158B3 #B33199 #B38C31
split-complementary
#31B34B #8C31B3 #B33158
monochromatic
#175323 #248337 #31B34B #52D06B #82DD94

Accessibility & contrast

On white

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

On black

7.68
#31B34B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B34B
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B34B#FFFFFF#000000##000000
##31B34B1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A341
Deuteranopia (green-blind)
#A69853
Tritanopia (blue-blind)
#00AF9C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b34b;
/* rgb */ color: rgb(49, 179, 75);
/* oklch */ color: oklch(67.5% 0.182 146.4);
Tailwind
colors: {
  custom: {
    50: '#7ccb80',
    500: '#31b34b',
    950: '#000000',
  },
}
SCSS
$custom: #31b34b;
$custom-light: #7ccb80;
$custom-dark: #000000;
JSON
{
  "hex": "#31b34b",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 75
  },
  "hsl": {
    "h": 132,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67506,
    "c": 0.18233,
    "h": 146.4
  },
  "luminance": 0.33401
}

Semantic roles & 50–950 ramp

primary
#31B34B
secondary
#C67AB7
accent
#48C2E0
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B34B

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

Preview Lab → · Contrast checker → · Palette generator →

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