#31B02E#31B02E

#31B02E is a light, vivid green. Relative luminance 0.319; OKLCH L 66.4% C 0.199 H 142.7°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#31B02E
RGBrgb(49, 176, 46)
HSLhsl(119, 59%, 44%)
HSVhsv(119, 74%, 69%)
CMYKcmyk(72.2%, 0%, 73.9%, 31%)
CIE-LABlab(63.26, -58.36, 53.48)
CIE-LCHlch(63.26, 79.16, 137.50°)
OKLaboklab(66.41% -0.1586 0.121)
OKLCHoklch(66.41% 0.199 142.7)
XYZxyz(17.2841, 31.8990, 7.8305)
Luminance0.3190 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B02E #AD2EB0
analogous
#72B02E #31B02E #2EB06C
triadic
#31B02E #2E31B0 #B02E31
tetradic
#31B02E #2E72B0 #AD2EB0 #B06C2E
square
#31B02E #2E72B0 #AD2EB0 #B06C2E
split-complementary
#31B02E #6C2EB0 #B02E72
monochromatic
#164F15 #237F21 #31B02E #4ED04B #7EDD7C

Accessibility & contrast

On white

2.85
#31B02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#31B02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B02E
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B02E#FFFFFF#000000##000000
##31B02E1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F15
Deuteranopia (green-blind)
#A5953C
Tritanopia (blue-blind)
#01AB97
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31b02e;
/* rgb */ color: rgb(49, 176, 46);
/* oklch */ color: oklch(66.4% 0.199 142.7);
Tailwind
colors: {
  custom: {
    50: '#7dc96f',
    500: '#31b02e',
    950: '#000000',
  },
}
SCSS
$custom: #31b02e;
$custom-light: #7dc96f;
$custom-dark: #000000;
JSON
{
  "hex": "#31b02e",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 46
  },
  "hsl": {
    "h": 118.615,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.6641,
    "c": 0.19948,
    "h": 142.7
  },
  "luminance": 0.31901
}

Semantic roles & 50–950 ramp

primary
#31B02E
secondary
#C375C5
accent
#46E2DE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31B02E

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

Preview Lab → · Contrast checker → · Palette generator →

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