#31B052#31B052

#31B052 is a light, vivid green. Relative luminance 0.323; OKLCH L 66.8% C 0.173 H 147.9°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#31B052
RGBrgb(49, 176, 82)
HSLhsl(136, 56%, 44%)
HSVhsv(136, 72%, 69%)
CMYKcmyk(72.2%, 0%, 53.4%, 31%)
CIE-LABlab(63.60, -54.31, 38.12)
CIE-LCHlch(63.60, 66.35, 144.93°)
OKLaboklab(66.8% -0.1462 0.0917)
OKLCHoklch(66.8% 0.173 147.9)
XYZxyz(18.3136, 32.3108, 13.2525)
Luminance0.3231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B052 #B0318F
analogous
#4FB031 #31B052 #31B092
triadic
#31B052 #5231B0 #B05231
tetradic
#31B052 #314FB0 #B0318F #B09231
square
#31B052 #314FB0 #B0318F #B09231
split-complementary
#31B052 #9231B0 #B0314F
monochromatic
#165025 #24803C #31B052 #50CE71 #80DC98

Accessibility & contrast

On white

2.81
#31B052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#31B052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B052
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B052#FFFFFF#000000##000000
##31B0521.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A04A
Deuteranopia (green-blind)
#A39659
Tritanopia (blue-blind)
#00AC9B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b052;
/* rgb */ color: rgb(49, 176, 82);
/* oklch */ color: oklch(66.8% 0.173 147.9);
Tailwind
colors: {
  custom: {
    50: '#7bc985',
    500: '#31b052',
    950: '#000000',
  },
}
SCSS
$custom: #31b052;
$custom-light: #7bc985;
$custom-dark: #000000;
JSON
{
  "hex": "#31b052",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 82
  },
  "hsl": {
    "h": 135.591,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66801,
    "c": 0.17257,
    "h": 147.9
  },
  "luminance": 0.32313
}

Semantic roles & 50–950 ramp

primary
#31B052
secondary
#C578B1
accent
#48B8E0
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31B052

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

Preview Lab → · Contrast checker → · Palette generator →

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