#1F7345#1F7345

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

Color values

HEX#1F7345
RGBrgb(31, 115, 69)
HSLhsl(147, 58%, 29%)
HSVhsv(147, 73%, 45%)
CMYKcmyk(73%, 0%, 40%, 54.9%)
CIE-LABlab(42.74, -36.17, 18.47)
CIE-LCHlch(42.74, 40.62, 152.95°)
OKLaboklab(49.4% -0.0977 0.0461)
OKLCHoklch(49.4% 0.108 154.7)
XYZxyz(7.7693, 12.9816, 7.7253)
Luminance0.1298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7345 #731F4D
analogous
#23731F #1F7345 #1F736F
triadic
#1F7345 #451F73 #73451F
tetradic
#1F7345 #1F2373 #731F4D #736F1F
square
#1F7345 #1F2373 #731F4D #736F1F
split-complementary
#1F7345 #6F1F73 #731F23
monochromatic
#06180E #124328 #1F7345 #2CA362 #41CC80

Accessibility & contrast

On white

5.84
#1F7345 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F7345
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7345#FFFFFF#000000##FFFFFF
##1F73451.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736942
Deuteranopia (green-blind)
#686248
Tritanopia (blue-blind)
#007267
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f7345;
/* rgb */ color: rgb(31, 115, 69);
/* oklch */ color: oklch(49.4% 0.108 154.7);
Tailwind
colors: {
  custom: {
    50: '#679c79',
    500: '#1f7345',
    950: '#000000',
  },
}
SCSS
$custom: #1f7345;
$custom-light: #679c79;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7345",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 69
  },
  "hsl": {
    "h": 147.143,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49395,
    "c": 0.10807,
    "h": 154.7
  },
  "luminance": 0.12982
}

Semantic roles & 50–950 ramp

primary
#1F7345
secondary
#A7477B
accent
#479BE1
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #1F7345

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

Preview Lab → · Contrast checker → · Palette generator →

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