#31B336#31B336

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

Color values

HEX#31B336
RGBrgb(49, 179, 54)
HSLhsl(122, 57%, 45%)
HSVhsv(122, 73%, 70%)
CMYKcmyk(72.6%, 0%, 69.8%, 29.8%)
CIE-LABlab(64.29, -58.67, 51.51)
CIE-LCHlch(64.29, 78.07, 138.72°)
OKLaboklab(67.28% -0.159 0.1179)
OKLCHoklch(67.28% 0.198 143.4)
XYZxyz(18.0514, 33.1575, 8.9380)
Luminance0.3316 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B336 #B331AE
analogous
#6DB331 #31B336 #31B377
triadic
#31B336 #3631B3 #B33631
tetradic
#31B336 #316DB3 #B331AE #B37731
square
#31B336 #316DB3 #B331AE #B37731
split-complementary
#31B336 #7731B3 #B3316D
monochromatic
#175319 #248328 #31B336 #52D056 #82DD85

Accessibility & contrast

On white

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

On black

7.63
#31B336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B336
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B336#FFFFFF#000000##000000
##31B3361.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A223
Deuteranopia (green-blind)
#A89842
Tritanopia (blue-blind)
#00AE9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b336;
/* rgb */ color: rgb(49, 179, 54);
/* oklch */ color: oklch(67.3% 0.198 143.4);
Tailwind
colors: {
  custom: {
    50: '#7dcb74',
    500: '#31b336',
    950: '#000000',
  },
}
SCSS
$custom: #31b336;
$custom-light: #7dcb74;
$custom-dark: #000000;
JSON
{
  "hex": "#31b336",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 54
  },
  "hsl": {
    "h": 122.308,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67282,
    "c": 0.19796,
    "h": 143.4
  },
  "luminance": 0.3316
}

Semantic roles & 50–950 ramp

primary
#31B336
secondary
#C67AC3
accent
#48DAE0
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B336

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

Preview Lab → · Contrast checker → · Palette generator →

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