#1F7745#1F7745

#1F7745 is a mid, moderate green. Relative luminance 0.139; OKLCH L 50.5% C 0.114 H 153.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#1F7745
RGBrgb(31, 119, 69)
HSLhsl(146, 59%, 29%)
HSVhsv(146, 74%, 47%)
CMYKcmyk(73.9%, 0%, 42%, 53.3%)
CIE-LABlab(44.11, -37.84, 20.29)
CIE-LCHlch(44.11, 42.94, 151.80°)
OKLaboklab(50.53% -0.1021 0.0505)
OKLCHoklch(50.53% 0.114 153.7)
XYZxyz(8.2353, 13.9137, 7.8807)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7745 #771F51
analogous
#25771F #1F7745 #1F7771
triadic
#1F7745 #451F77 #77451F
tetradic
#1F7745 #1F2577 #771F51 #77711F
square
#1F7745 #1F2577 #771F51 #77711F
split-complementary
#1F7745 #711F77 #771F25
monochromatic
#06180E #124629 #1F7745 #2CA861 #43CE7F

Accessibility & contrast

On white

5.55
#1F7745 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#1F7745 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7745
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7745#FFFFFF#000000##FFFFFF
##1F77451.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776D42
Deuteranopia (green-blind)
#6C6548
Tritanopia (blue-blind)
#00756B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1f7745;
/* rgb */ color: rgb(31, 119, 69);
/* oklch */ color: oklch(50.5% 0.114 153.7);
Tailwind
colors: {
  custom: {
    50: '#689f79',
    500: '#1f7745',
    950: '#000000',
  },
}
SCSS
$custom: #1f7745;
$custom-light: #689f79;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7745",
  "rgb": {
    "r": 31,
    "g": 119,
    "b": 69
  },
  "hsl": {
    "h": 145.909,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50527,
    "c": 0.11386,
    "h": 153.7
  },
  "luminance": 0.13915
}

Semantic roles & 50–950 ramp

primary
#1F7745
secondary
#AB4780
accent
#469FE2
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #1F7745

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

Preview Lab → · Contrast checker → · Palette generator →

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