#31A92D#31A92D

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

Color values

HEX#31A92D
RGBrgb(49, 169, 45)
HSLhsl(118, 58%, 42%)
HSVhsv(118, 73%, 66%)
CMYKcmyk(71%, 0%, 73.4%, 33.7%)
CIE-LABlab(60.97, -56.12, 51.53)
CIE-LCHlch(60.97, 76.19, 137.44°)
OKLaboklab(64.51% -0.1526 0.1168)
OKLCHoklch(64.51% 0.192 142.6)
XYZxyz(15.9273, 29.2166, 7.2821)
Luminance0.2922 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A92D #A52DA9
analogous
#6FA92D #31A92D #2DA967
triadic
#31A92D #2D31A9 #A92D31
tetradic
#31A92D #2D6FA9 #A52DA9 #A9672D
square
#31A92D #2D6FA9 #A52DA9 #A9672D
split-complementary
#31A92D #672DA9 #A92D6F
monochromatic
#154813 #237920 #31A92D #4ACE46 #79DA76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A92D#FFFFFF#000000##000000
##31A92D1.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)
#AD9917
Deuteranopia (green-blind)
#9F8F3A
Tritanopia (blue-blind)
#0BA491
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a92d;
/* rgb */ color: rgb(49, 169, 45);
/* oklch */ color: oklch(64.5% 0.192 142.6);
Tailwind
colors: {
  custom: {
    50: '#7bc46e',
    500: '#31a92d',
    950: '#000000',
  },
}
SCSS
$custom: #31a92d;
$custom-light: #7bc46e;
$custom-dark: #000000;
JSON
{
  "hex": "#31a92d",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 45
  },
  "hsl": {
    "h": 118.065,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6451,
    "c": 0.19214,
    "h": 142.6
  },
  "luminance": 0.29218
}

Semantic roles & 50–950 ramp

primary
#31A92D
secondary
#C06FC2
accent
#47E1DC
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31A92D

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

Preview Lab → · Contrast checker → · Palette generator →

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