#1F7547#1F7547

#1F7547 is a mid, moderate green. Relative luminance 0.135; OKLCH L 50.0% C 0.109 H 155.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#1F7547
RGBrgb(31, 117, 71)
HSLhsl(148, 58%, 29%)
HSVhsv(148, 74%, 46%)
CMYKcmyk(73.5%, 0%, 39.3%, 54.1%)
CIE-LABlab(43.46, -36.60, 18.28)
CIE-LCHlch(43.46, 40.91, 153.45°)
OKLaboklab(50% -0.0989 0.0457)
OKLCHoklch(50% 0.109 155.2)
XYZxyz(8.0630, 13.4679, 8.1346)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7547 #751F4D
analogous
#22751F #1F7547 #1F7572
triadic
#1F7547 #471F75 #75471F
tetradic
#1F7547 #1F2275 #751F4D #75721F
square
#1F7547 #1F2275 #751F4D #75721F
split-complementary
#1F7547 #721F75 #751F22
monochromatic
#06180F #12452A #1F7547 #2CA564 #42CD82

Accessibility & contrast

On white

5.69
#1F7547 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#1F7547 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7547
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7547#FFFFFF#000000##FFFFFF
##1F75471.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756B44
Deuteranopia (green-blind)
#6A644A
Tritanopia (blue-blind)
#007469
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1f7547;
/* rgb */ color: rgb(31, 117, 71);
/* oklch */ color: oklch(50.0% 0.109 155.2);
Tailwind
colors: {
  custom: {
    50: '#679d7a',
    500: '#1f7547',
    950: '#000000',
  },
}
SCSS
$custom: #1f7547;
$custom-light: #679d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7547",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 71
  },
  "hsl": {
    "h": 147.907,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50004,
    "c": 0.10896,
    "h": 155.2
  },
  "luminance": 0.13469
}

Semantic roles & 50–950 ramp

primary
#1F7547
secondary
#A9477B
accent
#4699E1
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #1F7547

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

Preview Lab → · Contrast checker → · Palette generator →

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