#1F741F#1F741F

#1F741F is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.144 H 143.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#1F741F
RGBrgb(31, 116, 31)
HSLhsl(120, 58%, 29%)
HSVhsv(120, 73%, 45%)
CMYKcmyk(73.3%, 0%, 73.3%, 54.5%)
CIE-LABlab(42.58, -42.35, 37.96)
CIE-LCHlch(42.58, 56.88, 138.13°)
OKLaboklab(49.11% -0.115 0.0867)
OKLCHoklch(49.11% 0.144 143)
XYZxyz(7.0574, 12.8802, 3.4103)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F741F #741F74
analogous
#4A741F #1F741F #1F744A
triadic
#1F741F #1F1F74 #741F1F
tetradic
#1F741F #1F4A74 #741F74 #744A1F
square
#1F741F #1F4A74 #741F74 #744A1F
split-complementary
#1F741F #4A1F74 #741F4A
monochromatic
#061806 #124412 #1F741F #2CA42C #41CC41

Accessibility & contrast

On white

5.87
#1F741F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#1F741F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F741F
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F741F#FFFFFF#000000##FFFFFF
##1F741F1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#6D6227
Tritanopia (blue-blind)
#047063
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f741f;
/* rgb */ color: rgb(31, 116, 31);
/* oklch */ color: oklch(49.1% 0.144 143.0);
Tailwind
colors: {
  custom: {
    50: '#699d60',
    500: '#1f741f',
    950: '#000000',
  },
}
SCSS
$custom: #1f741f;
$custom-light: #699d60;
$custom-dark: #000000;
JSON
{
  "hex": "#1f741f",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 120,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49106,
    "c": 0.14401,
    "h": 143
  },
  "luminance": 0.12881
}

Semantic roles & 50–950 ramp

primary
#1F741F
secondary
#A847A8
accent
#47E1E1
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1F741F

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

Preview Lab → · Contrast checker → · Palette generator →

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