#31A92C#31A92C

#31A92C is a light, vivid green. Relative luminance 0.292; OKLCH L 64.5% C 0.193 H 142.5°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#31A92C
RGBrgb(49, 169, 44)
HSLhsl(118, 59%, 42%)
HSVhsv(118, 74%, 66%)
CMYKcmyk(71%, 0%, 74%, 33.7%)
CIE-LABlab(60.97, -56.20, 51.89)
CIE-LCHlch(60.97, 76.49, 137.28°)
OKLaboklab(64.5% -0.1528 0.1174)
OKLCHoklch(64.5% 0.193 142.5)
XYZxyz(15.9083, 29.2090, 7.1819)
Luminance0.2921 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A92C #A42CA9
analogous
#70A92C #31A92C #2CA966
triadic
#31A92C #2C31A9 #A92C31
tetradic
#31A92C #2C70A9 #A42CA9 #A9662C
square
#31A92C #2C70A9 #A42CA9 #A9662C
split-complementary
#31A92C #662CA9 #A92C70
monochromatic
#154813 #23781F #31A92C #49CE44 #79DB74

Accessibility & contrast

On white

3.07
#31A92C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#31A92C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A92C
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A92C#FFFFFF#000000##000000
##31A92C1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9915
Deuteranopia (green-blind)
#9F8F39
Tritanopia (blue-blind)
#0CA491
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a92c;
/* rgb */ color: rgb(49, 169, 44);
/* oklch */ color: oklch(64.5% 0.193 142.5);
Tailwind
colors: {
  custom: {
    50: '#7bc46d',
    500: '#31a92c',
    950: '#000000',
  },
}
SCSS
$custom: #31a92c;
$custom-light: #7bc46d;
$custom-dark: #000000;
JSON
{
  "hex": "#31a92c",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 44
  },
  "hsl": {
    "h": 117.6,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.64502,
    "c": 0.19274,
    "h": 142.5
  },
  "luminance": 0.29211
}

Semantic roles & 50–950 ramp

primary
#31A92C
secondary
#BF6EC3
accent
#46E2DC
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31A92C

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

Preview Lab → · Contrast checker → · Palette generator →

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