#31A42E#31A42E

#31A42E is a light, vivid green. Relative luminance 0.274; OKLCH L 63.2% C 0.186 H 142.7°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#31A42E
RGBrgb(49, 164, 46)
HSLhsl(118, 56%, 41%)
HSVhsv(118, 72%, 64%)
CMYKcmyk(70.1%, 0%, 72%, 35.7%)
CIE-LABlab(59.34, -54.34, 49.47)
CIE-LCHlch(59.34, 73.49, 137.69°)
OKLaboklab(63.16% -0.1477 0.1126)
OKLCHoklch(63.16% 0.186 142.7)
XYZxyz(15.0343, 27.3995, 7.0806)
Luminance0.2740 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A42E #A12EA4
analogous
#6CA42E #31A42E #2EA466
triadic
#31A42E #2E31A4 #A42E31
tetradic
#31A42E #2E6CA4 #A12EA4 #A4662E
square
#31A42E #2E6CA4 #A12EA4 #A4662E
split-complementary
#31A42E #662EA4 #A42E6C
monochromatic
#144413 #237421 #31A42E #48CB45 #77D874

Accessibility & contrast

On white

3.24
#31A42E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#31A42E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A42E
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A42E#FFFFFF#000000##000000
##31A42E1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8941B
Deuteranopia (green-blind)
#9A8B3A
Tritanopia (blue-blind)
#109F8D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #31a42e;
/* rgb */ color: rgb(49, 164, 46);
/* oklch */ color: oklch(63.2% 0.186 142.7);
Tailwind
colors: {
  custom: {
    50: '#7ac06e',
    500: '#31a42e',
    950: '#000000',
  },
}
SCSS
$custom: #31a42e;
$custom-light: #7ac06e;
$custom-dark: #000000;
JSON
{
  "hex": "#31a42e",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 118.475,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.6316,
    "c": 0.18575,
    "h": 142.7
  },
  "luminance": 0.27401
}

Semantic roles & 50–950 ramp

primary
#31A42E
secondary
#BE6EC0
accent
#48DFDC
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #31A42E

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

Preview Lab → · Contrast checker → · Palette generator →

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