#1F783C#1F783C

#1F783C is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.6% C 0.124 H 149.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#1F783C
RGBrgb(31, 120, 60)
HSLhsl(140, 59%, 30%)
HSVhsv(140, 74%, 47%)
CMYKcmyk(74.2%, 0%, 50%, 52.9%)
CIE-LABlab(44.30, -39.93, 25.57)
CIE-LCHlch(44.30, 47.42, 147.37°)
OKLaboklab(50.64% -0.1075 0.0624)
OKLCHoklch(50.64% 0.124 149.9)
XYZxyz(8.0965, 14.0496, 6.5592)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F783C #781F5B
analogous
#2E781F #1F783C #1F7869
triadic
#1F783C #3C1F78 #783C1F
tetradic
#1F783C #1F2E78 #781F5B #78691F
square
#1F783C #1F2E78 #781F5B #78691F
split-complementary
#1F783C #691F78 #781F2E
monochromatic
#06180C #124724 #1F783C #2CA954 #43CE70

Accessibility & contrast

On white

5.51
#1F783C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#1F783C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F783C
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F783C#FFFFFF#000000##FFFFFF
##1F783C1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796D37
Deuteranopia (green-blind)
#6E6640
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1f783c;
/* rgb */ color: rgb(31, 120, 60);
/* oklch */ color: oklch(50.6% 0.124 149.9);
Tailwind
colors: {
  custom: {
    50: '#68a073',
    500: '#1f783c',
    950: '#000000',
  },
}
SCSS
$custom: #1f783c;
$custom-light: #68a073;
$custom-dark: #000000;
JSON
{
  "hex": "#1f783c",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 60
  },
  "hsl": {
    "h": 139.551,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5064,
    "c": 0.12425,
    "h": 149.9
  },
  "luminance": 0.1405
}

Semantic roles & 50–950 ramp

primary
#1F783C
secondary
#AB478B
accent
#46AFE2
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #1F783C

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

Preview Lab → · Contrast checker → · Palette generator →

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