#31B33D#31B33D

#31B33D is a light, vivid green. Relative luminance 0.332; OKLCH L 67.3% C 0.193 H 144.3°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#31B33D
RGBrgb(49, 179, 61)
HSLhsl(126, 57%, 45%)
HSVhsv(126, 73%, 70%)
CMYKcmyk(72.6%, 0%, 65.9%, 29.8%)
CIE-LABlab(64.35, -57.98, 48.69)
CIE-LCHlch(64.35, 75.71, 139.97°)
OKLaboklab(67.35% -0.1568 0.1128)
OKLCHoklch(67.35% 0.193 144.3)
XYZxyz(18.2278, 33.2280, 9.8670)
Luminance0.3323 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B33D #B331A7
analogous
#66B331 #31B33D #31B37E
triadic
#31B33D #3D31B3 #B33D31
tetradic
#31B33D #3166B3 #B331A7 #B37E31
square
#31B33D #3166B3 #B331A7 #B37E31
split-complementary
#31B33D #7E31B3 #B33166
monochromatic
#17531C #24832D #31B33D #52D05D #82DD8A

Accessibility & contrast

On white

2.75
#31B33D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#31B33D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B33D
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B33D#FFFFFF#000000##000000
##31B33D1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A22E
Deuteranopia (green-blind)
#A79848
Tritanopia (blue-blind)
#00AE9B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b33d;
/* rgb */ color: rgb(49, 179, 61);
/* oklch */ color: oklch(67.3% 0.193 144.3);
Tailwind
colors: {
  custom: {
    50: '#7dcb78',
    500: '#31b33d',
    950: '#000000',
  },
}
SCSS
$custom: #31b33d;
$custom-light: #7dcb78;
$custom-dark: #000000;
JSON
{
  "hex": "#31b33d",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 61
  },
  "hsl": {
    "h": 125.538,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67347,
    "c": 0.19317,
    "h": 144.3
  },
  "luminance": 0.3323
}

Semantic roles & 50–950 ramp

primary
#31B33D
secondary
#C67ABF
accent
#48D2E0
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B33D

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

Preview Lab → · Contrast checker → · Palette generator →

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