#1F782D#1F782D

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

Color values

HEX#1F782D
RGBrgb(31, 120, 45)
HSLhsl(129, 59%, 30%)
HSVhsv(129, 74%, 47%)
CMYKcmyk(74.2%, 0%, 62.5%, 52.9%)
CIE-LABlab(44.11, -42.22, 33.18)
CIE-LCHlch(44.11, 53.70, 141.84°)
OKLaboklab(50.41% -0.114 0.0782)
OKLCHoklch(50.41% 0.138 145.6)
XYZxyz(7.7547, 13.9128, 4.7589)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F782D #781F6A
analogous
#3E781F #1F782D #1F785A
triadic
#1F782D #2D1F78 #782D1F
tetradic
#1F782D #1F3E78 #781F6A #785A1F
square
#1F782D #1F3E78 #781F6A #785A1F
split-complementary
#1F782D #5A1F78 #781F3E
monochromatic
#061809 #12471B #1F782D #2CA93F #43CE59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F782D#FFFFFF#000000##FFFFFF
##1F782D1.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)
#7A6D25
Deuteranopia (green-blind)
#706533
Tritanopia (blue-blind)
#007568
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1f782d;
/* rgb */ color: rgb(31, 120, 45);
/* oklch */ color: oklch(50.4% 0.138 145.6);
Tailwind
colors: {
  custom: {
    50: '#69a069',
    500: '#1f782d',
    950: '#000000',
  },
}
SCSS
$custom: #1f782d;
$custom-light: #69a069;
$custom-dark: #000000;
JSON
{
  "hex": "#1f782d",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 45
  },
  "hsl": {
    "h": 129.438,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50414,
    "c": 0.1382,
    "h": 145.6
  },
  "luminance": 0.13914
}

Semantic roles & 50–950 ramp

primary
#1F782D
secondary
#AB479C
accent
#46CAE2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #1F782D

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

Preview Lab → · Contrast checker → · Palette generator →

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