#31A91C#31A91C

#31A91C is a light, highly saturated green. Relative luminance 0.291; OKLCH L 64.4% C 0.201 H 141.2°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#31A91C
RGBrgb(49, 169, 28)
HSLhsl(111, 72%, 39%)
HSVhsv(111, 83%, 66%)
CMYKcmyk(71%, 0%, 83.4%, 33.7%)
CIE-LABlab(60.88, -57.25, 56.90)
CIE-LCHlch(60.88, 80.72, 135.17°)
OKLaboklab(64.4% -0.1564 0.1257)
OKLCHoklch(64.4% 0.201 141.2)
XYZxyz(15.6633, 29.1110, 5.8919)
Luminance0.2911 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A91C #941CA9
analogous
#77A91C #31A91C #1CA94D
triadic
#31A91C #1C31A9 #A91C31
tetradic
#31A91C #1C77A9 #941CA9 #A94D1C
square
#31A91C #1C77A9 #941CA9 #A94D1C
split-complementary
#31A91C #4D1CA9 #A91C77
monochromatic
#13400B #227413 #31A91C #42DB27 #70E45B

Accessibility & contrast

On white

3.08
#31A91C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#31A91C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A91C
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A91C#FFFFFF#000000##000000
##31A91C1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#A08F2F
Tritanopia (blue-blind)
#12A390
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a91c;
/* rgb */ color: rgb(49, 169, 28);
/* oklch */ color: oklch(64.4% 0.201 141.2);
Tailwind
colors: {
  custom: {
    50: '#7cc466',
    500: '#31a91c',
    950: '#000000',
  },
}
SCSS
$custom: #31a91c;
$custom-light: #7cc466;
$custom-dark: #000000;
JSON
{
  "hex": "#31a91c",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 28
  },
  "hsl": {
    "h": 111.064,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64403,
    "c": 0.20065,
    "h": 141.2
  },
  "luminance": 0.29113
}

Semantic roles & 50–950 ramp

primary
#31A91C
secondary
#B759C8
accent
#39EED3
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1306
muted
#7C827A

Preview Lab

Preview with #31A91C

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

Preview Lab → · Contrast checker → · Palette generator →

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