#1F7646#1F7646

#1F7646 is a mid, moderate green. Relative luminance 0.137; OKLCH L 50.3% C 0.111 H 154.4°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#1F7646
RGBrgb(31, 118, 70)
HSLhsl(147, 58%, 29%)
HSVhsv(147, 74%, 46%)
CMYKcmyk(73.7%, 0%, 40.7%, 53.7%)
CIE-LABlab(43.78, -37.22, 19.29)
CIE-LCHlch(43.78, 41.92, 152.61°)
OKLaboklab(50.27% -0.1005 0.0481)
OKLCHoklch(50.27% 0.111 154.4)
XYZxyz(8.1483, 13.6895, 8.0061)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7646 #761F4F
analogous
#23761F #1F7646 #1F7672
triadic
#1F7646 #461F76 #76461F
tetradic
#1F7646 #1F2376 #761F4F #76721F
square
#1F7646 #1F2376 #761F4F #76721F
split-complementary
#1F7646 #721F76 #761F23
monochromatic
#06180E #124629 #1F7646 #2CA663 #42CD80

Accessibility & contrast

On white

5.62
#1F7646 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#1F7646 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7646
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7646#FFFFFF#000000##FFFFFF
##1F76461.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766C43
Deuteranopia (green-blind)
#6B6449
Tritanopia (blue-blind)
#00756A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1f7646;
/* rgb */ color: rgb(31, 118, 70);
/* oklch */ color: oklch(50.3% 0.111 154.4);
Tailwind
colors: {
  custom: {
    50: '#689e7a',
    500: '#1f7646',
    950: '#000000',
  },
}
SCSS
$custom: #1f7646;
$custom-light: #689e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7646",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 70
  },
  "hsl": {
    "h": 146.897,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50265,
    "c": 0.11141,
    "h": 154.4
  },
  "luminance": 0.1369
}

Semantic roles & 50–950 ramp

primary
#1F7646
secondary
#AA477D
accent
#469CE2
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #1F7646

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

Preview Lab → · Contrast checker → · Palette generator →

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