#1F7347#1F7347

#1F7347 is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.4% C 0.106 H 155.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#1F7347
RGBrgb(31, 115, 71)
HSLhsl(149, 58%, 29%)
HSVhsv(149, 73%, 45%)
CMYKcmyk(73%, 0%, 38.3%, 54.9%)
CIE-LABlab(42.77, -35.75, 17.37)
CIE-LCHlch(42.77, 39.75, 154.09°)
OKLaboklab(49.44% -0.0967 0.0435)
OKLCHoklch(49.44% 0.106 155.8)
XYZxyz(7.8324, 13.0068, 8.0578)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7347 #731F4B
analogous
#21731F #1F7347 #1F7371
triadic
#1F7347 #471F73 #73471F
tetradic
#1F7347 #1F2173 #731F4B #73711F
square
#1F7347 #1F2173 #731F4B #73711F
split-complementary
#1F7347 #711F73 #731F21
monochromatic
#06180F #124329 #1F7347 #2CA365 #41CC83

Accessibility & contrast

On white

5.83
#1F7347 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#1F7347 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7347
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7347#FFFFFF#000000##FFFFFF
##1F73471.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726944
Deuteranopia (green-blind)
#68624A
Tritanopia (blue-blind)
#007268
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f7347;
/* rgb */ color: rgb(31, 115, 71);
/* oklch */ color: oklch(49.4% 0.106 155.8);
Tailwind
colors: {
  custom: {
    50: '#679c7a',
    500: '#1f7347',
    950: '#000000',
  },
}
SCSS
$custom: #1f7347;
$custom-light: #679c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7347",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 71
  },
  "hsl": {
    "h": 148.571,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49439,
    "c": 0.10607,
    "h": 155.8
  },
  "luminance": 0.13008
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F7347

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

Preview Lab → · Contrast checker → · Palette generator →

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