#31B533#31B533

#31B533 is a light, highly saturated green. Relative luminance 0.339; OKLCH L 67.8% C 0.202 H 143.1°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#31B533
RGBrgb(49, 181, 51)
HSLhsl(121, 57%, 45%)
HSVhsv(121, 73%, 71%)
CMYKcmyk(72.9%, 0%, 71.8%, 29%)
CIE-LABlab(64.91, -59.59, 53.32)
CIE-LCHlch(64.91, 79.96, 138.18°)
OKLaboklab(67.79% -0.1617 0.1213)
OKLCHoklch(67.79% 0.202 143.1)
XYZxyz(18.3869, 33.9377, 8.7129)
Luminance0.3394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B533 #B531B3
analogous
#71B531 #31B533 #31B575
triadic
#31B533 #3331B5 #B53331
tetradic
#31B533 #3171B5 #B531B3 #B57531
square
#31B533 #3171B5 #B531B3 #B57531
split-complementary
#31B533 #7531B5 #B53171
monochromatic
#175518 #248525 #31B533 #53D055 #83DD84

Accessibility & contrast

On white

2.70
#31B533 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#31B533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B533
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B533#FFFFFF#000000##000000
##31B5331.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41D
Deuteranopia (green-blind)
#AA9A40
Tritanopia (blue-blind)
#00B09B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b533;
/* rgb */ color: rgb(49, 181, 51);
/* oklch */ color: oklch(67.8% 0.202 143.1);
Tailwind
colors: {
  custom: {
    50: '#7ecc72',
    500: '#31b533',
    950: '#000000',
  },
}
SCSS
$custom: #31b533;
$custom-light: #7ecc72;
$custom-dark: #000000;
JSON
{
  "hex": "#31b533",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 51
  },
  "hsl": {
    "h": 120.909,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.67793,
    "c": 0.20213,
    "h": 143.1
  },
  "luminance": 0.3394
}

Semantic roles & 50–950 ramp

primary
#31B533
secondary
#C77BC6
accent
#47DEE1
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0B1408
muted
#7C827B

Preview Lab

Preview with #31B533

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

Preview Lab → · Contrast checker → · Palette generator →

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