#31B436#31B436

#31B436 is a light, vivid green. Relative luminance 0.336; OKLCH L 67.5% C 0.199 H 143.4°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#31B436
RGBrgb(49, 180, 54)
HSLhsl(122, 57%, 45%)
HSVhsv(122, 73%, 71%)
CMYKcmyk(72.8%, 0%, 70%, 29.4%)
CIE-LABlab(64.61, -59.00, 51.85)
CIE-LCHlch(64.61, 78.54, 138.69°)
OKLaboklab(67.55% -0.1599 0.1186)
OKLCHoklch(67.55% 0.199 143.4)
XYZxyz(18.2526, 33.5598, 9.0051)
Luminance0.3356 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B436 #B431AF
analogous
#6EB431 #31B436 #31B477
triadic
#31B436 #3631B4 #B43631
tetradic
#31B436 #316EB4 #B431AF #B47731
square
#31B436 #316EB4 #B431AF #B47731
split-complementary
#31B436 #7731B4 #B4316E
monochromatic
#175419 #248428 #31B436 #52D057 #82DD86

Accessibility & contrast

On white

2.72
#31B436 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#31B436 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B436
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B436#FFFFFF#000000##000000
##31B4361.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A323
Deuteranopia (green-blind)
#A99942
Tritanopia (blue-blind)
#00AF9B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b436;
/* rgb */ color: rgb(49, 180, 54);
/* oklch */ color: oklch(67.5% 0.199 143.4);
Tailwind
colors: {
  custom: {
    50: '#7dcc74',
    500: '#31b436',
    950: '#000000',
  },
}
SCSS
$custom: #31b436;
$custom-light: #7dcc74;
$custom-dark: #000000;
JSON
{
  "hex": "#31b436",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 54
  },
  "hsl": {
    "h": 122.29,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.6755,
    "c": 0.1991,
    "h": 143.4
  },
  "luminance": 0.33562
}

Semantic roles & 50–950 ramp

primary
#31B436
secondary
#C67BC3
accent
#47DBE0
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B436

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

Preview Lab → · Contrast checker → · Palette generator →

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