#1F7445#1F7445

#1F7445 is a mid, moderate green. Relative luminance 0.132; OKLCH L 49.7% C 0.110 H 154.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#1F7445
RGBrgb(31, 116, 69)
HSLhsl(147, 58%, 29%)
HSVhsv(147, 73%, 45%)
CMYKcmyk(73.3%, 0%, 40.5%, 54.5%)
CIE-LABlab(43.08, -36.59, 18.93)
CIE-LCHlch(43.08, 41.20, 152.65°)
OKLaboklab(49.68% -0.0988 0.0472)
OKLCHoklch(49.68% 0.11 154.5)
XYZxyz(7.8839, 13.2109, 7.7635)
Luminance0.1321 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7445 #741F4E
analogous
#23741F #1F7445 #1F7470
triadic
#1F7445 #451F74 #74451F
tetradic
#1F7445 #1F2374 #741F4E #74701F
square
#1F7445 #1F2374 #741F4E #74701F
split-complementary
#1F7445 #701F74 #741F23
monochromatic
#06180E #124428 #1F7445 #2CA462 #41CC7F

Accessibility & contrast

On white

5.77
#1F7445 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#1F7445 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7445
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7445#FFFFFF#000000##FFFFFF
##1F74451.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746A42
Deuteranopia (green-blind)
#696348
Tritanopia (blue-blind)
#007368
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1f7445;
/* rgb */ color: rgb(31, 116, 69);
/* oklch */ color: oklch(49.7% 0.110 154.5);
Tailwind
colors: {
  custom: {
    50: '#679d79',
    500: '#1f7445',
    950: '#000000',
  },
}
SCSS
$custom: #1f7445;
$custom-light: #679d79;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7445",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 69
  },
  "hsl": {
    "h": 146.824,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49679,
    "c": 0.10953,
    "h": 154.5
  },
  "luminance": 0.13212
}

Semantic roles & 50–950 ramp

primary
#1F7445
secondary
#A8477D
accent
#479CE1
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #1F7445

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

Preview Lab → · Contrast checker → · Palette generator →

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