#1F783D#1F783D

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

Color values

HEX#1F783D
RGBrgb(31, 120, 61)
HSLhsl(140, 59%, 30%)
HSVhsv(140, 74%, 47%)
CMYKcmyk(74.2%, 0%, 49.2%, 52.9%)
CIE-LABlab(44.32, -39.76, 25.04)
CIE-LCHlch(44.32, 46.98, 147.79°)
OKLaboklab(50.66% -0.107 0.0612)
OKLCHoklch(50.66% 0.123 150.2)
XYZxyz(8.1232, 14.0603, 6.6998)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F783D #781F5A
analogous
#2E781F #1F783D #1F786A
triadic
#1F783D #3D1F78 #783D1F
tetradic
#1F783D #1F2E78 #781F5A #786A1F
square
#1F783D #1F2E78 #781F5A #786A1F
split-complementary
#1F783D #6A1F78 #781F2E
monochromatic
#06180C #124724 #1F783D #2CA956 #43CE72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F783D#FFFFFF#000000##FFFFFF
##1F783D1.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)
#796D38
Deuteranopia (green-blind)
#6E6641
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1f783d;
/* rgb */ color: rgb(31, 120, 61);
/* oklch */ color: oklch(50.7% 0.123 150.2);
Tailwind
colors: {
  custom: {
    50: '#68a073',
    500: '#1f783d',
    950: '#000000',
  },
}
SCSS
$custom: #1f783d;
$custom-light: #68a073;
$custom-dark: #000000;
JSON
{
  "hex": "#1f783d",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 61
  },
  "hsl": {
    "h": 140.225,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50657,
    "c": 0.12326,
    "h": 150.2
  },
  "luminance": 0.14061
}

Semantic roles & 50–950 ramp

primary
#1F783D
secondary
#AB478A
accent
#46ADE2
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #1F783D

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

Preview Lab → · Contrast checker → · Palette generator →

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