#1F741E#1F741E

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

Color values

HEX#1F741E
RGBrgb(31, 116, 30)
HSLhsl(119, 59%, 29%)
HSVhsv(119, 74%, 45%)
CMYKcmyk(73.3%, 0%, 74.1%, 54.5%)
CIE-LABlab(42.57, -42.45, 38.37)
CIE-LCHlch(42.57, 57.22, 137.89°)
OKLaboklab(49.1% -0.1153 0.0874)
OKLCHoklch(49.1% 0.145 142.8)
XYZxyz(7.0444, 12.8751, 3.3419)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F741E #731E74
analogous
#4A741E #1F741E #1E7448
triadic
#1F741E #1E1F74 #741E1F
tetradic
#1F741E #1E4A74 #731E74 #74481E
square
#1F741E #1E4A74 #731E74 #74481E
split-complementary
#1F741E #481E74 #741E4A
monochromatic
#061806 #124311 #1F741E #2CA52B #41CD3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F741E#FFFFFF#000000##FFFFFF
##1F741E1.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)
#776910
Deuteranopia (green-blind)
#6D6227
Tritanopia (blue-blind)
#057063
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f741e;
/* rgb */ color: rgb(31, 116, 30);
/* oklch */ color: oklch(49.1% 0.145 142.8);
Tailwind
colors: {
  custom: {
    50: '#699d5f',
    500: '#1f741e',
    950: '#000000',
  },
}
SCSS
$custom: #1f741e;
$custom-light: #699d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f741e",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 30
  },
  "hsl": {
    "h": 119.302,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49097,
    "c": 0.1447,
    "h": 142.8
  },
  "luminance": 0.12876
}

Semantic roles & 50–950 ramp

primary
#1F741E
secondary
#A746A8
accent
#46E2E0
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1F741E

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

Preview Lab → · Contrast checker → · Palette generator →

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