#31A02B#31A02B

#31A02B is a light, vivid green. Relative luminance 0.260; OKLCH L 62.0% C 0.183 H 142.3°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#31A02B
RGBrgb(49, 160, 43)
HSLhsl(117, 58%, 40%)
HSVhsv(117, 73%, 63%)
CMYKcmyk(69.4%, 0%, 73.1%, 37.3%)
CIE-LABlab(58.01, -53.23, 49.25)
CIE-LCHlch(58.01, 72.52, 137.22°)
OKLaboklab(62.04% -0.1448 0.1118)
OKLCHoklch(62.04% 0.183 142.3)
XYZxyz(14.2727, 25.9675, 6.5451)
Luminance0.2597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A02B #9A2BA0
analogous
#6CA02B #31A02B #2BA060
triadic
#31A02B #2B31A0 #A02B31
tetradic
#31A02B #2B6CA0 #9A2BA0 #A0602B
square
#31A02B #2B6CA0 #9A2BA0 #A0602B
split-complementary
#31A02B #602BA0 #A02B6C
monochromatic
#134011 #22701E #31A02B #45CB3D #73D86E

Accessibility & contrast

On white

3.39
#31A02B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#31A02B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A02B
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A02B#FFFFFF#000000##000000
##31A02B1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49117
Deuteranopia (green-blind)
#978837
Tritanopia (blue-blind)
#159B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #31a02b;
/* rgb */ color: rgb(49, 160, 43);
/* oklch */ color: oklch(62.0% 0.183 142.3);
Tailwind
colors: {
  custom: {
    50: '#79bd6c',
    500: '#31a02b',
    950: '#000000',
  },
}
SCSS
$custom: #31a02b;
$custom-light: #79bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#31a02b",
  "rgb": {
    "r": 49,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 116.923,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62045,
    "c": 0.18296,
    "h": 142.3
  },
  "luminance": 0.25969
}

Semantic roles & 50–950 ramp

primary
#31A02B
secondary
#BA68BF
accent
#47E1D9
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #31A02B

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

Preview Lab → · Contrast checker → · Palette generator →

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