#31B33B#31B33B

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

Color values

HEX#31B33B
RGBrgb(49, 179, 59)
HSLhsl(125, 57%, 45%)
HSVhsv(125, 73%, 70%)
CMYKcmyk(72.6%, 0%, 67%, 29.8%)
CIE-LABlab(64.33, -58.18, 49.52)
CIE-LCHlch(64.33, 76.40, 139.60°)
OKLaboklab(67.33% -0.1575 0.1143)
OKLCHoklch(67.33% 0.195 144)
XYZxyz(18.1750, 33.2069, 9.5885)
Luminance0.3321 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B33B #B331A9
analogous
#68B331 #31B33B #31B37C
triadic
#31B33B #3B31B3 #B33B31
tetradic
#31B33B #3168B3 #B331A9 #B37C31
square
#31B33B #3168B3 #B331A9 #B37C31
split-complementary
#31B33B #7C31B3 #B33168
monochromatic
#17531B #24832B #31B33B #52D05B #82DD89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B33B#FFFFFF#000000##000000
##31B33B1.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)
#B6A22B
Deuteranopia (green-blind)
#A89846
Tritanopia (blue-blind)
#00AE9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b33b;
/* rgb */ color: rgb(49, 179, 59);
/* oklch */ color: oklch(67.3% 0.195 144.0);
Tailwind
colors: {
  custom: {
    50: '#7dcb77',
    500: '#31b33b',
    950: '#000000',
  },
}
SCSS
$custom: #31b33b;
$custom-light: #7dcb77;
$custom-dark: #000000;
JSON
{
  "hex": "#31b33b",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 59
  },
  "hsl": {
    "h": 124.615,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67328,
    "c": 0.19458,
    "h": 144
  },
  "luminance": 0.33209
}

Semantic roles & 50–950 ramp

primary
#31B33B
secondary
#C67AC0
accent
#48D5E0
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B33B

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

Preview Lab → · Contrast checker → · Palette generator →

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