#31B33C#31B33C

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

Color values

HEX#31B33C
RGBrgb(49, 179, 60)
HSLhsl(125, 57%, 45%)
HSVhsv(125, 73%, 70%)
CMYKcmyk(72.6%, 0%, 66.5%, 29.8%)
CIE-LABlab(64.34, -58.08, 49.11)
CIE-LCHlch(64.34, 76.06, 139.79°)
OKLaboklab(67.34% -0.1572 0.1135)
OKLCHoklch(67.34% 0.194 144.2)
XYZxyz(18.2011, 33.2174, 9.7265)
Luminance0.3322 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B33C #B331A8
analogous
#67B331 #31B33C #31B37D
triadic
#31B33C #3C31B3 #B33C31
tetradic
#31B33C #3167B3 #B331A8 #B37D31
square
#31B33C #3167B3 #B331A8 #B37D31
split-complementary
#31B33C #7D31B3 #B33167
monochromatic
#17531C #24832C #31B33C #52D05C #82DD89

Accessibility & contrast

On white

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

On black

7.64
#31B33C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B33C
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B33C#FFFFFF#000000##000000
##31B33C1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b33c;
/* rgb */ color: rgb(49, 179, 60);
/* oklch */ color: oklch(67.3% 0.194 144.2);
Tailwind
colors: {
  custom: {
    50: '#7dcb77',
    500: '#31b33c',
    950: '#000000',
  },
}
SCSS
$custom: #31b33c;
$custom-light: #7dcb77;
$custom-dark: #000000;
JSON
{
  "hex": "#31b33c",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 60
  },
  "hsl": {
    "h": 125.077,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67337,
    "c": 0.19388,
    "h": 144.2
  },
  "luminance": 0.33219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B33C

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

Preview Lab → · Contrast checker → · Palette generator →

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