#1F741B#1F741B

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

Color values

HEX#1F741B
RGBrgb(31, 116, 27)
HSLhsl(117, 62%, 28%)
HSVhsv(117, 77%, 45%)
CMYKcmyk(73.3%, 0%, 76.7%, 54.5%)
CIE-LABlab(42.55, -42.72, 39.56)
CIE-LCHlch(42.55, 58.22, 137.20°)
OKLaboklab(49.07% -0.1162 0.0895)
OKLCHoklch(49.07% 0.147 142.4)
XYZxyz(7.0079, 12.8605, 3.1497)
Luminance0.1286 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F741B #701B74
analogous
#4B741B #1F741B #1B7443
triadic
#1F741B #1B1F74 #741B1F
tetradic
#1F741B #1B4B74 #701B74 #74431B
square
#1F741B #1B4B74 #701B74 #74431B
split-complementary
#1F741B #431B74 #741B4B
monochromatic
#071906 #12420F #1F741B #2CA627 #3FD139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1f741b;
/* rgb */ color: rgb(31, 116, 27);
/* oklch */ color: oklch(49.1% 0.147 142.4);
Tailwind
colors: {
  custom: {
    50: '#699d5e',
    500: '#1f741b',
    950: '#000000',
  },
}
SCSS
$custom: #1f741b;
$custom-light: #699d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f741b",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 117.303,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49072,
    "c": 0.14665,
    "h": 142.4
  },
  "luminance": 0.12861
}

Semantic roles & 50–950 ramp

primary
#1F741B
secondary
#A442A9
accent
#42E5DE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #1F741B

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

Preview Lab → · Contrast checker → · Palette generator →

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