#1F7341#1F7341

#1F7341 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.3% C 0.112 H 152.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#1F7341
RGBrgb(31, 115, 65)
HSLhsl(144, 58%, 29%)
HSVhsv(144, 73%, 45%)
CMYKcmyk(73%, 0%, 43.5%, 54.9%)
CIE-LABlab(42.66, -36.99, 20.67)
CIE-LCHlch(42.66, 42.37, 150.80°)
OKLaboklab(49.31% -0.0997 0.0512)
OKLCHoklch(49.31% 0.112 152.8)
XYZxyz(7.6493, 12.9336, 7.0933)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7341 #731F51
analogous
#27731F #1F7341 #1F736B
triadic
#1F7341 #411F73 #73411F
tetradic
#1F7341 #1F2773 #731F51 #736B1F
square
#1F7341 #1F2773 #731F51 #736B1F
split-complementary
#1F7341 #6B1F73 #731F27
monochromatic
#06180E #124326 #1F7341 #2CA35C #41CC79

Accessibility & contrast

On white

5.85
#1F7341 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#1F7341 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7341
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7341#FFFFFF#000000##FFFFFF
##1F73411.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73693D
Deuteranopia (green-blind)
#696244
Tritanopia (blue-blind)
#007167
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f7341;
/* rgb */ color: rgb(31, 115, 65);
/* oklch */ color: oklch(49.3% 0.112 152.8);
Tailwind
colors: {
  custom: {
    50: '#679c76',
    500: '#1f7341',
    950: '#000000',
  },
}
SCSS
$custom: #1f7341;
$custom-light: #679c76;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7341",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 65
  },
  "hsl": {
    "h": 144.286,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49312,
    "c": 0.11212,
    "h": 152.8
  },
  "luminance": 0.12934
}

Semantic roles & 50–950 ramp

primary
#1F7341
secondary
#A74780
accent
#47A3E1
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #1F7341

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

Preview Lab → · Contrast checker → · Palette generator →

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