#31A22E#31A22E

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

Color values

HEX#31A22E
RGBrgb(49, 162, 46)
HSLhsl(118, 56%, 41%)
HSVhsv(118, 72%, 64%)
CMYKcmyk(69.8%, 0%, 71.6%, 36.5%)
CIE-LABlab(58.69, -53.66, 48.79)
CIE-LCHlch(58.69, 72.53, 137.72°)
OKLaboklab(62.62% -0.1458 0.1112)
OKLCHoklch(62.62% 0.183 142.7)
XYZxyz(14.6792, 26.6893, 6.9622)
Luminance0.2669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A22E #9F2EA2
analogous
#6BA22E #31A22E #2EA265
triadic
#31A22E #2E31A2 #A22E31
tetradic
#31A22E #2E6BA2 #9F2EA2 #A2652E
square
#31A22E #2E6BA2 #9F2EA2 #A2652E
split-complementary
#31A22E #652EA2 #A22E6B
monochromatic
#144313 #237220 #31A22E #47CA43 #76D773

Accessibility & contrast

On white

3.31
#31A22E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#31A22E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A22E
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A22E#FFFFFF#000000##000000
##31A22E1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931B
Deuteranopia (green-blind)
#988A3A
Tritanopia (blue-blind)
#129D8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #31a22e;
/* rgb */ color: rgb(49, 162, 46);
/* oklch */ color: oklch(62.6% 0.183 142.7);
Tailwind
colors: {
  custom: {
    50: '#7abf6e',
    500: '#31a22e',
    950: '#000000',
  },
}
SCSS
$custom: #31a22e;
$custom-light: #7abf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#31a22e",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 118.448,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.62616,
    "c": 0.1834,
    "h": 142.7
  },
  "luminance": 0.26691
}

Semantic roles & 50–950 ramp

primary
#31A22E
secondary
#BD6DBF
accent
#49DFDB
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #31A22E

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

Preview Lab → · Contrast checker → · Palette generator →

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