#1F741A#1F741A

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

Color values

HEX#1F741A
RGBrgb(31, 116, 26)
HSLhsl(117, 63%, 28%)
HSVhsv(117, 78%, 45%)
CMYKcmyk(73.3%, 0%, 77.6%, 54.5%)
CIE-LABlab(42.55, -42.80, 39.94)
CIE-LCHlch(42.55, 58.54, 136.98°)
OKLaboklab(49.06% -0.1165 0.0901)
OKLCHoklch(49.06% 0.147 142.3)
XYZxyz(6.9965, 12.8559, 3.0898)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F741A #6F1A74
analogous
#4C741A #1F741A #1A7442
triadic
#1F741A #1A1F74 #741A1F
tetradic
#1F741A #1A4C74 #6F1A74 #74421A
square
#1F741A #1A4C74 #6F1A74 #74421A
split-complementary
#1F741A #421A74 #741A4C
monochromatic
#071906 #12420F #1F741A #2CA625 #3FD236

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F741A#FFFFFF#000000##FFFFFF
##1F741A1.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)
#776908
Deuteranopia (green-blind)
#6D6224
Tritanopia (blue-blind)
#067063
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f741a;
/* rgb */ color: rgb(31, 116, 26);
/* oklch */ color: oklch(49.1% 0.147 142.3);
Tailwind
colors: {
  custom: {
    50: '#699d5d',
    500: '#1f741a',
    950: '#000000',
  },
}
SCSS
$custom: #1f741a;
$custom-light: #699d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f741a",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 26
  },
  "hsl": {
    "h": 116.667,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49064,
    "c": 0.14726,
    "h": 142.3
  },
  "luminance": 0.12857
}

Semantic roles & 50–950 ramp

primary
#1F741A
secondary
#A341A9
accent
#41E6DD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #1F741A

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

Preview Lab → · Contrast checker → · Palette generator →

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