#1F783E#1F783E

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

Color values

HEX#1F783E
RGBrgb(31, 120, 62)
HSLhsl(141, 59%, 30%)
HSVhsv(141, 74%, 47%)
CMYKcmyk(74.2%, 0%, 48.3%, 52.9%)
CIE-LABlab(44.33, -39.58, 24.51)
CIE-LCHlch(44.33, 46.55, 148.23°)
OKLaboklab(50.68% -0.1065 0.06)
OKLCHoklch(50.68% 0.122 150.6)
XYZxyz(8.1504, 14.0711, 6.8430)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F783E #781F59
analogous
#2D781F #1F783E #1F786B
triadic
#1F783E #3E1F78 #783E1F
tetradic
#1F783E #1F2D78 #781F59 #786B1F
square
#1F783E #1F2D78 #781F59 #786B1F
split-complementary
#1F783E #6B1F78 #781F2D
monochromatic
#06180D #124725 #1F783E #2CA957 #43CE74

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F783E#FFFFFF#000000##FFFFFF
##1F783E1.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)
#796D39
Deuteranopia (green-blind)
#6E6642
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1f783e;
/* rgb */ color: rgb(31, 120, 62);
/* oklch */ color: oklch(50.7% 0.122 150.6);
Tailwind
colors: {
  custom: {
    50: '#68a074',
    500: '#1f783e',
    950: '#000000',
  },
}
SCSS
$custom: #1f783e;
$custom-light: #68a074;
$custom-dark: #000000;
JSON
{
  "hex": "#1f783e",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 62
  },
  "hsl": {
    "h": 140.899,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50675,
    "c": 0.12227,
    "h": 150.6
  },
  "luminance": 0.14072
}

Semantic roles & 50–950 ramp

primary
#1F783E
secondary
#AB4789
accent
#46ACE2
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #1F783E

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

Preview Lab → · Contrast checker → · Palette generator →

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