#31B343#31B343

#31B343 is a light, vivid green. Relative luminance 0.333; OKLCH L 67.4% C 0.189 H 145.1°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#31B343
RGBrgb(49, 179, 67)
HSLhsl(128, 57%, 45%)
HSVhsv(128, 73%, 70%)
CMYKcmyk(72.6%, 0%, 62.6%, 29.8%)
CIE-LABlab(64.40, -57.32, 46.14)
CIE-LCHlch(64.40, 73.58, 141.17°)
OKLaboklab(67.41% -0.1548 0.1079)
OKLCHoklch(67.41% 0.189 145.1)
XYZxyz(18.3986, 33.2963, 10.7663)
Luminance0.3330 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B343 #B331A1
analogous
#60B331 #31B343 #31B384
triadic
#31B343 #4331B3 #B34331
tetradic
#31B343 #3160B3 #B331A1 #B38431
square
#31B343 #3160B3 #B331A1 #B38431
split-complementary
#31B343 #8431B3 #B33160
monochromatic
#17531F #248331 #31B343 #52D063 #82DD8E

Accessibility & contrast

On white

2.74
#31B343 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#31B343 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B343
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B343#FFFFFF#000000##000000
##31B3431.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b343;
/* rgb */ color: rgb(49, 179, 67);
/* oklch */ color: oklch(67.4% 0.189 145.1);
Tailwind
colors: {
  custom: {
    50: '#7ccb7b',
    500: '#31b343',
    950: '#000000',
  },
}
SCSS
$custom: #31b343;
$custom-light: #7ccb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#31b343",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 67
  },
  "hsl": {
    "h": 128.308,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67411,
    "c": 0.18871,
    "h": 145.1
  },
  "luminance": 0.33298
}

Semantic roles & 50–950 ramp

primary
#31B343
secondary
#C67ABB
accent
#48CBE0
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B343

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

Preview Lab → · Contrast checker → · Palette generator →

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