#1F7641#1F7641

#1F7641 is a mid, moderate green. Relative luminance 0.136; OKLCH L 50.2% C 0.116 H 152.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#1F7641
RGBrgb(31, 118, 65)
HSLhsl(143, 58%, 29%)
HSVhsv(143, 74%, 46%)
CMYKcmyk(73.7%, 0%, 44.9%, 53.7%)
CIE-LABlab(43.70, -38.21, 22.01)
CIE-LCHlch(43.70, 44.10, 150.06°)
OKLaboklab(50.16% -0.103 0.0544)
OKLCHoklch(50.16% 0.116 152.2)
XYZxyz(7.9970, 13.6289, 7.2092)
Luminance0.1363 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7641 #761F54
analogous
#29761F #1F7641 #1F766D
triadic
#1F7641 #411F76 #76411F
tetradic
#1F7641 #1F2976 #761F54 #766D1F
square
#1F7641 #1F2976 #761F54 #766D1F
split-complementary
#1F7641 #6D1F76 #761F29
monochromatic
#06180D #124626 #1F7641 #2CA65C #42CD78

Accessibility & contrast

On white

5.64
#1F7641 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#1F7641 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7641
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7641#FFFFFF#000000##FFFFFF
##1F76411.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766C3D
Deuteranopia (green-blind)
#6C6445
Tritanopia (blue-blind)
#007469
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1f7641;
/* rgb */ color: rgb(31, 118, 65);
/* oklch */ color: oklch(50.2% 0.116 152.2);
Tailwind
colors: {
  custom: {
    50: '#689e76',
    500: '#1f7641',
    950: '#000000',
  },
}
SCSS
$custom: #1f7641;
$custom-light: #689e76;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7641",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 65
  },
  "hsl": {
    "h": 143.448,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50164,
    "c": 0.11644,
    "h": 152.2
  },
  "luminance": 0.1363
}

Semantic roles & 50–950 ramp

primary
#1F7641
secondary
#AA4783
accent
#46A5E2
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #1F7641

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

Preview Lab → · Contrast checker → · Palette generator →

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