#1F7440#1F7440

#1F7440 is a mid, moderate green. Relative luminance 0.132; OKLCH L 49.6% C 0.115 H 152.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#1F7440
RGBrgb(31, 116, 64)
HSLhsl(143, 58%, 29%)
HSVhsv(143, 73%, 45%)
CMYKcmyk(73.3%, 0%, 44.8%, 54.5%)
CIE-LABlab(42.99, -37.59, 21.66)
CIE-LCHlch(42.99, 43.39, 150.05°)
OKLaboklab(49.58% -0.1013 0.0535)
OKLCHoklch(49.58% 0.115 152.1)
XYZxyz(7.7352, 13.1514, 6.9803)
Luminance0.1315 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7440 #741F53
analogous
#29741F #1F7440 #1F746B
triadic
#1F7440 #401F74 #74401F
tetradic
#1F7440 #1F2974 #741F53 #746B1F
square
#1F7440 #1F2974 #741F53 #746B1F
split-complementary
#1F7440 #6B1F74 #741F29
monochromatic
#06180D #124425 #1F7440 #2CA45B #41CC77

Accessibility & contrast

On white

5.78
#1F7440 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#1F7440 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7440
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7440#FFFFFF#000000##FFFFFF
##1F74401.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746A3C
Deuteranopia (green-blind)
#6A6344
Tritanopia (blue-blind)
#007267
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1f7440;
/* rgb */ color: rgb(31, 116, 64);
/* oklch */ color: oklch(49.6% 0.115 152.1);
Tailwind
colors: {
  custom: {
    50: '#679d75',
    500: '#1f7440',
    950: '#000000',
  },
}
SCSS
$custom: #1f7440;
$custom-light: #679d75;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7440",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 64
  },
  "hsl": {
    "h": 143.294,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49576,
    "c": 0.11457,
    "h": 152.1
  },
  "luminance": 0.13152
}

Semantic roles & 50–950 ramp

primary
#1F7440
secondary
#A84782
accent
#47A5E1
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #1F7440

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

Preview Lab → · Contrast checker → · Palette generator →

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