#31A22A#31A22A

#31A22A is a light, vivid green. Relative luminance 0.267; OKLCH L 62.6% C 0.186 H 142.2°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#31A22A
RGBrgb(49, 162, 42)
HSLhsl(117, 59%, 40%)
HSVhsv(117, 74%, 64%)
CMYKcmyk(69.8%, 0%, 74.1%, 36.5%)
CIE-LABlab(58.66, -54.00, 50.29)
CIE-LCHlch(58.66, 73.79, 137.04°)
OKLaboklab(62.58% -0.147 0.1138)
OKLCHoklch(62.58% 0.186 142.2)
XYZxyz(14.6040, 26.6592, 6.5661)
Luminance0.2666 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A22A #9B2AA2
analogous
#6DA22A #31A22A #2AA25F
triadic
#31A22A #2A31A2 #A22A31
tetradic
#31A22A #2A6DA2 #9B2AA2 #A25F2A
square
#31A22A #2A6DA2 #9B2AA2 #A25F2A
split-complementary
#31A22A #5F2AA2 #A22A6D
monochromatic
#144111 #22711D #31A22A #45CD3D #73D96D

Accessibility & contrast

On white

3.32
#31A22A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#31A22A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A22A
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A22A#FFFFFF#000000##000000
##31A22A1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69314
Deuteranopia (green-blind)
#998A37
Tritanopia (blue-blind)
#139D8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #31a22a;
/* rgb */ color: rgb(49, 162, 42);
/* oklch */ color: oklch(62.6% 0.186 142.2);
Tailwind
colors: {
  custom: {
    50: '#7abf6b',
    500: '#31a22a',
    950: '#000000',
  },
}
SCSS
$custom: #31a22a;
$custom-light: #7abf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#31a22a",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 116.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.62583,
    "c": 0.18588,
    "h": 142.2
  },
  "luminance": 0.26661
}

Semantic roles & 50–950 ramp

primary
#31A22A
secondary
#BB68C0
accent
#46E2D9
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #31A22A

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

Preview Lab → · Contrast checker → · Palette generator →

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