#1F741C#1F741C

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

Color values

HEX#1F741C
RGBrgb(31, 116, 28)
HSLhsl(118, 61%, 28%)
HSVhsv(118, 76%, 45%)
CMYKcmyk(73.3%, 0%, 75.9%, 54.5%)
CIE-LABlab(42.56, -42.63, 39.17)
CIE-LCHlch(42.56, 57.89, 137.42°)
OKLaboklab(49.08% -0.1159 0.0888)
OKLCHoklch(49.08% 0.146 142.5)
XYZxyz(7.0197, 12.8652, 3.2117)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F741C #711C74
analogous
#4B741C #1F741C #1C7445
triadic
#1F741C #1C1F74 #741C1F
tetradic
#1F741C #1C4B74 #711C74 #74451C
square
#1F741C #1C4B74 #711C74 #74451C
split-complementary
#1F741C #451C74 #741C4B
monochromatic
#071906 #124310 #1F741C #2CA528 #40D03B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F741C#FFFFFF#000000##FFFFFF
##1F741C1.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)
#77690C
Deuteranopia (green-blind)
#6D6225
Tritanopia (blue-blind)
#067063
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f741c;
/* rgb */ color: rgb(31, 116, 28);
/* oklch */ color: oklch(49.1% 0.146 142.5);
Tailwind
colors: {
  custom: {
    50: '#699d5e',
    500: '#1f741c',
    950: '#000000',
  },
}
SCSS
$custom: #1f741c;
$custom-light: #699d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f741c",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 28
  },
  "hsl": {
    "h": 117.955,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4908,
    "c": 0.14601,
    "h": 142.5
  },
  "luminance": 0.12866
}

Semantic roles & 50–950 ramp

primary
#1F741C
secondary
#A543A8
accent
#44E4DF
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1F741C

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

Preview Lab → · Contrast checker → · Palette generator →

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