#1F7643#1F7643

#1F7643 is a mid, moderate green. Relative luminance 0.137; OKLCH L 50.2% C 0.114 H 153.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#1F7643
RGBrgb(31, 118, 67)
HSLhsl(145, 58%, 29%)
HSVhsv(145, 74%, 46%)
CMYKcmyk(73.7%, 0%, 43.2%, 53.7%)
CIE-LABlab(43.73, -37.83, 20.93)
CIE-LCHlch(43.73, 43.23, 151.05°)
OKLaboklab(50.2% -0.102 0.0519)
OKLCHoklch(50.2% 0.114 153)
XYZxyz(8.0559, 13.6525, 7.5197)
Luminance0.1365 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7643 #761F52
analogous
#26761F #1F7643 #1F766F
triadic
#1F7643 #431F76 #76431F
tetradic
#1F7643 #1F2676 #761F52 #766F1F
square
#1F7643 #1F2676 #761F52 #766F1F
split-complementary
#1F7643 #6F1F76 #761F26
monochromatic
#06180E #124627 #1F7643 #2CA65F #42CD7C

Accessibility & contrast

On white

5.63
#1F7643 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F7643
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7643#FFFFFF#000000##FFFFFF
##1F76431.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7643;
/* rgb */ color: rgb(31, 118, 67);
/* oklch */ color: oklch(50.2% 0.114 153.0);
Tailwind
colors: {
  custom: {
    50: '#689e78',
    500: '#1f7643',
    950: '#000000',
  },
}
SCSS
$custom: #1f7643;
$custom-light: #689e78;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7643",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 67
  },
  "hsl": {
    "h": 144.828,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50203,
    "c": 0.11443,
    "h": 153
  },
  "luminance": 0.13653
}

Semantic roles & 50–950 ramp

primary
#1F7643
secondary
#AA4781
accent
#46A1E2
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #1F7643

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

Preview Lab → · Contrast checker → · Palette generator →

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