#1F7447#1F7447

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

Color values

HEX#1F7447
RGBrgb(31, 116, 71)
HSLhsl(148, 58%, 29%)
HSVhsv(148, 73%, 45%)
CMYKcmyk(73.3%, 0%, 38.8%, 54.5%)
CIE-LABlab(43.12, -36.18, 17.82)
CIE-LCHlch(43.12, 40.33, 153.77°)
OKLaboklab(49.72% -0.0978 0.0446)
OKLCHoklch(49.72% 0.108 155.5)
XYZxyz(7.9471, 13.2361, 8.0960)
Luminance0.1324 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7447 #741F4C
analogous
#22741F #1F7447 #1F7472
triadic
#1F7447 #471F74 #74471F
tetradic
#1F7447 #1F2274 #741F4C #74721F
square
#1F7447 #1F2274 #741F4C #74721F
split-complementary
#1F7447 #721F74 #741F22
monochromatic
#06180F #124429 #1F7447 #2CA465 #41CC83

Accessibility & contrast

On white

5.76
#1F7447 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#1F7447 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7447
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7447#FFFFFF#000000##FFFFFF
##1F74471.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736A44
Deuteranopia (green-blind)
#69634A
Tritanopia (blue-blind)
#007369
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1f7447;
/* rgb */ color: rgb(31, 116, 71);
/* oklch */ color: oklch(49.7% 0.108 155.5);
Tailwind
colors: {
  custom: {
    50: '#679d7a',
    500: '#1f7447',
    950: '#000000',
  },
}
SCSS
$custom: #1f7447;
$custom-light: #679d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7447",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 71
  },
  "hsl": {
    "h": 148.235,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49722,
    "c": 0.10752,
    "h": 155.5
  },
  "luminance": 0.13237
}

Semantic roles & 50–950 ramp

primary
#1F7447
secondary
#A8477A
accent
#4798E1
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #1F7447

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

Preview Lab → · Contrast checker → · Palette generator →

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