#1F782C#1F782C

#1F782C is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.139 H 145.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#1F782C
RGBrgb(31, 120, 44)
HSLhsl(129, 59%, 30%)
HSVhsv(129, 74%, 47%)
CMYKcmyk(74.2%, 0%, 63.3%, 52.9%)
CIE-LABlab(44.10, -42.36, 33.66)
CIE-LCHlch(44.10, 54.10, 141.52°)
OKLaboklab(50.4% -0.1144 0.0791)
OKLCHoklch(50.4% 0.139 145.3)
XYZxyz(7.7356, 13.9052, 4.6587)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F782C #781F6B
analogous
#3F781F #1F782C #1F7859
triadic
#1F782C #2C1F78 #782C1F
tetradic
#1F782C #1F3F78 #781F6B #78591F
square
#1F782C #1F3F78 #781F6B #78591F
split-complementary
#1F782C #591F78 #781F3F
monochromatic
#061809 #12471A #1F782C #2CA93E #43CE57

Accessibility & contrast

On white

5.55
#1F782C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#1F782C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F782C
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F782C#FFFFFF#000000##FFFFFF
##1F782C1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D24
Deuteranopia (green-blind)
#706532
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1f782c;
/* rgb */ color: rgb(31, 120, 44);
/* oklch */ color: oklch(50.4% 0.139 145.3);
Tailwind
colors: {
  custom: {
    50: '#69a068',
    500: '#1f782c',
    950: '#000000',
  },
}
SCSS
$custom: #1f782c;
$custom-light: #69a068;
$custom-dark: #000000;
JSON
{
  "hex": "#1f782c",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 44
  },
  "hsl": {
    "h": 128.764,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50401,
    "c": 0.13905,
    "h": 145.3
  },
  "luminance": 0.13906
}

Semantic roles & 50–950 ramp

primary
#1F782C
secondary
#AB479D
accent
#46CBE2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #1F782C

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

Preview Lab → · Contrast checker → · Palette generator →

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