#1F7645#1F7645

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

Color values

HEX#1F7645
RGBrgb(31, 118, 69)
HSLhsl(146, 58%, 29%)
HSVhsv(146, 74%, 46%)
CMYKcmyk(73.7%, 0%, 41.5%, 53.7%)
CIE-LABlab(43.77, -37.43, 19.84)
CIE-LCHlch(43.77, 42.36, 152.08°)
OKLaboklab(50.24% -0.101 0.0494)
OKLCHoklch(50.24% 0.112 153.9)
XYZxyz(8.1170, 13.6769, 7.8412)
Luminance0.1368 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7645 #761F50
analogous
#25761F #1F7645 #1F7671
triadic
#1F7645 #451F76 #76451F
tetradic
#1F7645 #1F2576 #761F50 #76711F
square
#1F7645 #1F2576 #761F50 #76711F
split-complementary
#1F7645 #711F76 #761F25
monochromatic
#06180E #124629 #1F7645 #2CA661 #42CD7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F7645#FFFFFF#000000##FFFFFF
##1F76451.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)
#766C42
Deuteranopia (green-blind)
#6B6448
Tritanopia (blue-blind)
#00756A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1f7645;
/* rgb */ color: rgb(31, 118, 69);
/* oklch */ color: oklch(50.2% 0.112 153.9);
Tailwind
colors: {
  custom: {
    50: '#689e79',
    500: '#1f7645',
    950: '#000000',
  },
}
SCSS
$custom: #1f7645;
$custom-light: #689e79;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7645",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 69
  },
  "hsl": {
    "h": 146.207,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50244,
    "c": 0.11242,
    "h": 153.9
  },
  "luminance": 0.13678
}

Semantic roles & 50–950 ramp

primary
#1F7645
secondary
#AA477F
accent
#469EE2
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #1F7645

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

Preview Lab → · Contrast checker → · Palette generator →

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