#31A22F#31A22F

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

Color values

HEX#31A22F
RGBrgb(49, 162, 47)
HSLhsl(119, 55%, 41%)
HSVhsv(119, 71%, 64%)
CMYKcmyk(69.8%, 0%, 71%, 36.5%)
CIE-LABlab(58.69, -53.57, 48.41)
CIE-LCHlch(58.69, 72.20, 137.90°)
OKLaboklab(62.62% -0.1456 0.1105)
OKLCHoklch(62.62% 0.183 142.8)
XYZxyz(14.6992, 26.6973, 7.0672)
Luminance0.2670 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A22F #A02FA2
analogous
#6AA22F #31A22F #2FA266
triadic
#31A22F #2F31A2 #A22F31
tetradic
#31A22F #2F6AA2 #A02FA2 #A2662F
square
#31A22F #2F6AA2 #A02FA2 #A2662F
split-complementary
#31A22F #662FA2 #A22F6A
monochromatic
#144313 #237321 #31A22F #47C945 #76D775

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A22F#FFFFFF#000000##000000
##31A22F1.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)
#A6931D
Deuteranopia (green-blind)
#988A3A
Tritanopia (blue-blind)
#119D8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #31a22f;
/* rgb */ color: rgb(49, 162, 47);
/* oklch */ color: oklch(62.6% 0.183 142.8);
Tailwind
colors: {
  custom: {
    50: '#7abf6e',
    500: '#31a22f',
    950: '#000000',
  },
}
SCSS
$custom: #31a22f;
$custom-light: #7abf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#31a22f",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 118.957,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.62624,
    "c": 0.18276,
    "h": 142.8
  },
  "luminance": 0.26699
}

Semantic roles & 50–950 ramp

primary
#31A22F
secondary
#BD6EBF
accent
#49DEDC
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #31A22F

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

Preview Lab → · Contrast checker → · Palette generator →

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