#1F7631#1F7631

#1F7631 is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.9% C 0.132 H 146.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#1F7631
RGBrgb(31, 118, 49)
HSLhsl(132, 58%, 29%)
HSVhsv(132, 74%, 46%)
CMYKcmyk(73.7%, 0%, 58.5%, 53.7%)
CIE-LABlab(43.46, -40.92, 30.40)
CIE-LCHlch(43.46, 50.98, 143.39°)
OKLaboklab(49.89% -0.1103 0.0725)
OKLCHoklch(49.89% 0.132 146.7)
XYZxyz(7.5973, 13.4691, 5.1045)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7631 #761F64
analogous
#39761F #1F7631 #1F765D
triadic
#1F7631 #311F76 #76311F
tetradic
#1F7631 #1F3976 #761F64 #765D1F
square
#1F7631 #1F3976 #761F64 #765D1F
split-complementary
#1F7631 #5D1F76 #761F39
monochromatic
#06180A #12461D #1F7631 #2CA645 #42CD5F

Accessibility & contrast

On white

5.68
#1F7631 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#1F7631 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7631
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7631#FFFFFF#000000##FFFFFF
##1F76311.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B2A
Deuteranopia (green-blind)
#6D6436
Tritanopia (blue-blind)
#007367
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1f7631;
/* rgb */ color: rgb(31, 118, 49);
/* oklch */ color: oklch(49.9% 0.132 146.7);
Tailwind
colors: {
  custom: {
    50: '#689e6b',
    500: '#1f7631',
    950: '#000000',
  },
}
SCSS
$custom: #1f7631;
$custom-light: #689e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7631",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 49
  },
  "hsl": {
    "h": 132.414,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49894,
    "c": 0.13197,
    "h": 146.7
  },
  "luminance": 0.1347
}

Semantic roles & 50–950 ramp

primary
#1F7631
secondary
#AA4795
accent
#46C1E2
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #1F7631

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

Preview Lab → · Contrast checker → · Palette generator →

#1F7631 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva