#1F784A#1F784A

#1F784A is a mid, moderate green. Relative luminance 0.142; OKLCH L 50.9% C 0.110 H 155.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#1F784A
RGBrgb(31, 120, 74)
HSLhsl(149, 59%, 30%)
HSVhsv(149, 74%, 47%)
CMYKcmyk(74.2%, 0%, 38.3%, 52.9%)
CIE-LABlab(44.54, -37.22, 18.00)
CIE-LCHlch(44.54, 41.35, 154.19°)
OKLaboklab(50.92% -0.1006 0.0451)
OKLCHoklch(50.92% 0.11 155.8)
XYZxyz(8.5168, 14.2177, 8.7727)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F784A #781F4D
analogous
#21781F #1F784A #1F7877
triadic
#1F784A #4A1F78 #784A1F
tetradic
#1F784A #1F2178 #781F4D #78771F
square
#1F784A #1F2178 #781F4D #78771F
split-complementary
#1F784A #771F78 #781F21
monochromatic
#06180F #12472C #1F784A #2CA968 #43CE86

Accessibility & contrast

On white

5.46
#1F784A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#1F784A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F784A
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F784A#FFFFFF#000000##FFFFFF
##1F784A1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776E47
Deuteranopia (green-blind)
#6C664D
Tritanopia (blue-blind)
#00776C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1f784a;
/* rgb */ color: rgb(31, 120, 74);
/* oklch */ color: oklch(50.9% 0.110 155.8);
Tailwind
colors: {
  custom: {
    50: '#68a07d',
    500: '#1f784a',
    950: '#000000',
  },
}
SCSS
$custom: #1f784a;
$custom-light: #68a07d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f784a",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 74
  },
  "hsl": {
    "h": 148.989,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50916,
    "c": 0.1103,
    "h": 155.8
  },
  "luminance": 0.14219
}

Semantic roles & 50–950 ramp

primary
#1F784A
secondary
#AB477B
accent
#4697E2
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #1F784A

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

Preview Lab → · Contrast checker → · Palette generator →

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