#31A91F#31A91F

#31A91F is a light, vivid green. Relative luminance 0.291; OKLCH L 64.4% C 0.199 H 141.4°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#31A91F
RGBrgb(49, 169, 31)
HSLhsl(112, 69%, 39%)
HSVhsv(112, 82%, 66%)
CMYKcmyk(71%, 0%, 81.7%, 33.7%)
CIE-LABlab(60.89, -57.09, 56.09)
CIE-LCHlch(60.89, 80.03, 135.51°)
OKLaboklab(64.42% -0.1558 0.1244)
OKLCHoklch(64.42% 0.199 141.4)
XYZxyz(15.7011, 29.1261, 6.0905)
Luminance0.2913 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A91F #971FA9
analogous
#76A91F #31A91F #1FA952
triadic
#31A91F #1F31A9 #A91F31
tetradic
#31A91F #1F76A9 #971FA9 #A9521F
square
#31A91F #1F76A9 #971FA9 #A9521F
split-complementary
#31A91F #521FA9 #A91F76
monochromatic
#13420C #227516 #31A91F #43D82D #71E260

Accessibility & contrast

On white

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

On black

6.83
#31A91F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A91F
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A91F#FFFFFF#000000##000000
##31A91F1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#A08F30
Tritanopia (blue-blind)
#11A490
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a91f;
/* rgb */ color: rgb(49, 169, 31);
/* oklch */ color: oklch(64.4% 0.199 141.4);
Tailwind
colors: {
  custom: {
    50: '#7cc467',
    500: '#31a91f',
    950: '#000000',
  },
}
SCSS
$custom: #31a91f;
$custom-light: #7cc467;
$custom-dark: #000000;
JSON
{
  "hex": "#31a91f",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 31
  },
  "hsl": {
    "h": 112.174,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64418,
    "c": 0.1994,
    "h": 141.4
  },
  "luminance": 0.29128
}

Semantic roles & 50–950 ramp

primary
#31A91F
secondary
#B95DC7
accent
#3CECD5
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31A91F

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

Preview Lab → · Contrast checker → · Palette generator →

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