#31BA31#31BA31

#31BA31 is a light, highly saturated green. Relative luminance 0.360; OKLCH L 69.1% C 0.209 H 142.9°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#31BA31
RGBrgb(49, 186, 49)
HSLhsl(120, 58%, 46%)
HSVhsv(120, 74%, 73%)
CMYKcmyk(73.7%, 0%, 73.7%, 27.1%)
CIE-LABlab(66.51, -61.37, 55.69)
CIE-LCHlch(66.51, 82.88, 137.78°)
OKLaboklab(69.12% -0.1666 0.126)
OKLCHoklch(69.12% 0.209 142.9)
XYZxyz(19.3787, 35.9903, 8.8307)
Luminance0.3599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA31 #BA31BA
analogous
#75BA31 #31BA31 #31BA75
triadic
#31BA31 #3131BA #BA3131
tetradic
#31BA31 #3175BA #BA31BA #BA7531
square
#31BA31 #3175BA #BA31BA #BA7531
split-complementary
#31BA31 #7531BA #BA3175
monochromatic
#175917 #248A24 #31BA31 #56D256 #86DF86

Accessibility & contrast

On white

2.56
#31BA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#31BA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA31
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA31#FFFFFF#000000##000000
##31BA311.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA817
Deuteranopia (green-blind)
#AF9E3F
Tritanopia (blue-blind)
#00B49F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31ba31;
/* rgb */ color: rgb(49, 186, 49);
/* oklch */ color: oklch(69.1% 0.209 142.9);
Tailwind
colors: {
  custom: {
    50: '#7fd072',
    500: '#31ba31',
    950: '#000000',
  },
}
SCSS
$custom: #31ba31;
$custom-light: #7fd072;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba31",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 120,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69117,
    "c": 0.2089,
    "h": 142.9
  },
  "luminance": 0.35993
}

Semantic roles & 50–950 ramp

primary
#31BA31
secondary
#C97EC9
accent
#46E2E2
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #31BA31

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

Preview Lab → · Contrast checker → · Palette generator →

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