#31C02B#31C02B

#31C02B is a light, highly saturated green. Relative luminance 0.385; OKLCH L 70.7% C 0.219 H 142.4°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#31C02B
RGBrgb(49, 192, 43)
HSLhsl(118, 63%, 46%)
HSVhsv(118, 78%, 75%)
CMYKcmyk(74.5%, 0%, 77.6%, 24.7%)
CIE-LABlab(68.41, -63.71, 59.59)
CIE-LCHlch(68.41, 87.24, 136.92°)
OKLaboklab(70.68% -0.1732 0.1334)
OKLCHoklch(70.68% 0.219 142.4)
XYZxyz(20.5511, 38.5243, 8.6379)
Luminance0.3853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C02B #BA2BC0
analogous
#7BC02B #31C02B #2BC06F
triadic
#31C02B #2B31C0 #C02B31
tetradic
#31C02B #2B7BC0 #BA2BC0 #C06F2B
square
#31C02B #2B7BC0 #BA2BC0 #C06F2B
split-complementary
#31C02B #6F2BC0 #C02B7B
monochromatic
#175C15 #248E20 #31C02B #56D850 #86E382

Accessibility & contrast

On white

2.41
#31C02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#31C02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C02B
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C02B#FFFFFF#000000##000000
##31C02B1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#B5A33C
Tritanopia (blue-blind)
#00BAA4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #31c02b;
/* rgb */ color: rgb(49, 192, 43);
/* oklch */ color: oklch(70.7% 0.219 142.4);
Tailwind
colors: {
  custom: {
    50: '#80d470',
    500: '#31c02b',
    950: '#000000',
  },
}
SCSS
$custom: #31c02b;
$custom-light: #80d470;
$custom-dark: #000000;
JSON
{
  "hex": "#31c02b",
  "rgb": {
    "r": 49,
    "g": 192,
    "b": 43
  },
  "hsl": {
    "h": 117.584,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70678,
    "c": 0.2186,
    "h": 142.4
  },
  "luminance": 0.38527
}

Semantic roles & 50–950 ramp

primary
#31C02B
secondary
#C97BCC
accent
#41E6E0
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1408
muted
#7D837B

Preview Lab

Preview with #31C02B

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

Preview Lab → · Contrast checker → · Palette generator →

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