#1F784B#1F784B

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

Color values

HEX#1F784B
RGBrgb(31, 120, 75)
HSLhsl(150, 59%, 30%)
HSVhsv(150, 74%, 47%)
CMYKcmyk(74.2%, 0%, 37.5%, 52.9%)
CIE-LABlab(44.56, -37.01, 17.45)
CIE-LCHlch(44.56, 40.92, 154.75°)
OKLaboklab(50.94% -0.1001 0.0438)
OKLCHoklch(50.94% 0.109 156.4)
XYZxyz(8.5507, 14.2313, 8.9515)
Luminance0.1423 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F784B #781F4C
analogous
#20781F #1F784B #1F7878
triadic
#1F784B #4B1F78 #784B1F
tetradic
#1F784B #1F2078 #781F4C #78781F
square
#1F784B #1F2078 #781F4C #78781F
split-complementary
#1F784B #781F78 #781F20
monochromatic
#06180F #12472D #1F784B #2CA969 #43CE88

Accessibility & contrast

On white

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

On black

3.85
#1F784B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F784B#FFFFFF#000000##FFFFFF
##1F784B1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f784b;
/* rgb */ color: rgb(31, 120, 75);
/* oklch */ color: oklch(50.9% 0.109 156.4);
Tailwind
colors: {
  custom: {
    50: '#68a07d',
    500: '#1f784b',
    950: '#000000',
  },
}
SCSS
$custom: #1f784b;
$custom-light: #68a07d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f784b",
  "rgb": {
    "r": 31,
    "g": 120,
    "b": 75
  },
  "hsl": {
    "h": 149.663,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50938,
    "c": 0.10931,
    "h": 156.4
  },
  "luminance": 0.14232
}

Semantic roles & 50–950 ramp

primary
#1F784B
secondary
#AB477A
accent
#4695E2
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #1F784B

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

Preview Lab → · Contrast checker → · Palette generator →

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