#1F741D#1F741D

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

Color values

HEX#1F741D
RGBrgb(31, 116, 29)
HSLhsl(119, 60%, 28%)
HSVhsv(119, 75%, 45%)
CMYKcmyk(73.3%, 0%, 75%, 54.5%)
CIE-LABlab(42.57, -42.54, 38.77)
CIE-LCHlch(42.57, 57.56, 137.65°)
OKLaboklab(49.09% -0.1156 0.0881)
OKLCHoklch(49.09% 0.145 142.7)
XYZxyz(7.0318, 12.8700, 3.2757)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F741D #721D74
analogous
#4A741D #1F741D #1D7446
triadic
#1F741D #1D1F74 #741D1F
tetradic
#1F741D #1D4A74 #721D74 #74461D
square
#1F741D #1D4A74 #721D74 #74461D
split-complementary
#1F741D #461D74 #741D4A
monochromatic
#071806 #124311 #1F741D #2CA529 #40CE3D

Accessibility & contrast

On white

5.88
#1F741D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#1F741D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F741D
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F741D#FFFFFF#000000##FFFFFF
##1F741D1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690E
Deuteranopia (green-blind)
#6D6226
Tritanopia (blue-blind)
#057063
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f741d;
/* rgb */ color: rgb(31, 116, 29);
/* oklch */ color: oklch(49.1% 0.145 142.7);
Tailwind
colors: {
  custom: {
    50: '#699d5f',
    500: '#1f741d',
    950: '#000000',
  },
}
SCSS
$custom: #1f741d;
$custom-light: #699d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f741d",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 29
  },
  "hsl": {
    "h": 118.621,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49088,
    "c": 0.14536,
    "h": 142.7
  },
  "luminance": 0.12871
}

Semantic roles & 50–950 ramp

primary
#1F741D
secondary
#A645A8
accent
#45E3E0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1F741D

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

Preview Lab → · Contrast checker → · Palette generator →

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