#1F783F#1F783F

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

Color values

HEX#1F783F
RGBrgb(31, 120, 63)
HSLhsl(142, 59%, 30%)
HSVhsv(142, 74%, 47%)
CMYKcmyk(74.2%, 0%, 47.5%, 52.9%)
CIE-LABlab(44.35, -39.40, 23.98)
CIE-LCHlch(44.35, 46.12, 148.68°)
OKLaboklab(50.69% -0.106 0.0588)
OKLCHoklch(50.69% 0.121 151)
XYZxyz(8.1781, 14.0822, 6.9888)
Luminance0.1408 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F783F #781F58
analogous
#2C781F #1F783F #1F786C
triadic
#1F783F #3F1F78 #783F1F
tetradic
#1F783F #1F2C78 #781F58 #786C1F
square
#1F783F #1F2C78 #781F58 #786C1F
split-complementary
#1F783F #6C1F78 #781F2C
monochromatic
#06180D #124725 #1F783F #2CA959 #43CE75

Accessibility & contrast

On white

5.50
#1F783F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#1F783F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F783F
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F783F#FFFFFF#000000##FFFFFF
##1F783F1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f783f;
/* rgb */ color: rgb(31, 120, 63);
/* oklch */ color: oklch(50.7% 0.121 151.0);
Tailwind
colors: {
  custom: {
    50: '#68a075',
    500: '#1f783f',
    950: '#000000',
  },
}
SCSS
$custom: #1f783f;
$custom-light: #68a075;
$custom-dark: #000000;
JSON
{
  "hex": "#1f783f",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 63
  },
  "hsl": {
    "h": 141.573,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50693,
    "c": 0.12128,
    "h": 151
  },
  "luminance": 0.14083
}

Semantic roles & 50–950 ramp

primary
#1F783F
secondary
#AB4787
accent
#46AAE2
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #1F783F

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

Preview Lab → · Contrast checker → · Palette generator →

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