#1F7348#1F7348

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

Color values

HEX#1F7348
RGBrgb(31, 115, 72)
HSLhsl(149, 58%, 29%)
HSVhsv(149, 73%, 45%)
CMYKcmyk(73%, 0%, 37.4%, 54.9%)
CIE-LABlab(42.79, -35.54, 16.81)
CIE-LCHlch(42.79, 39.31, 154.68°)
OKLaboklab(49.46% -0.0962 0.0422)
OKLCHoklch(49.46% 0.105 156.3)
XYZxyz(7.8648, 13.0198, 8.2282)
Luminance0.1302 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7348 #731F4A
analogous
#20731F #1F7348 #1F7372
triadic
#1F7348 #481F73 #73481F
tetradic
#1F7348 #1F2073 #731F4A #73721F
square
#1F7348 #1F2073 #731F4A #73721F
split-complementary
#1F7348 #721F73 #731F20
monochromatic
#06180F #12432A #1F7348 #2CA366 #41CC85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F7348#FFFFFF#000000##FFFFFF
##1F73481.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)
#726A45
Deuteranopia (green-blind)
#68624B
Tritanopia (blue-blind)
#007268
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f7348;
/* rgb */ color: rgb(31, 115, 72);
/* oklch */ color: oklch(49.5% 0.105 156.3);
Tailwind
colors: {
  custom: {
    50: '#679c7b',
    500: '#1f7348',
    950: '#000000',
  },
}
SCSS
$custom: #1f7348;
$custom-light: #679c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7348",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 72
  },
  "hsl": {
    "h": 149.286,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49462,
    "c": 0.10507,
    "h": 156.3
  },
  "luminance": 0.13021
}

Semantic roles & 50–950 ramp

primary
#1F7348
secondary
#A74778
accent
#4796E1
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #1F7348

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

Preview Lab → · Contrast checker → · Palette generator →

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