#1F793E#1F793E

#1F793E is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.0% C 0.124 H 150.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#1F793E
RGBrgb(31, 121, 62)
HSLhsl(141, 59%, 30%)
HSVhsv(141, 74%, 47%)
CMYKcmyk(74.4%, 0%, 48.8%, 52.5%)
CIE-LABlab(44.68, -39.97, 24.95)
CIE-LCHlch(44.68, 47.12, 148.03°)
OKLaboklab(50.96% -0.1076 0.061)
OKLCHoklch(50.96% 0.124 150.4)
XYZxyz(8.2713, 14.3129, 6.8833)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F793E #791F5A
analogous
#2D791F #1F793E #1F796B
triadic
#1F793E #3E1F79 #793E1F
tetradic
#1F793E #1F2D79 #791F5A #796B1F
square
#1F793E #1F2D79 #791F5A #796B1F
split-complementary
#1F793E #6B1F79 #791F2D
monochromatic
#06180C #134825 #1F793E #2BAA57 #43CF74

Accessibility & contrast

On white

5.44
#1F793E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#1F793E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F793E
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F793E#FFFFFF#000000##FFFFFF
##1F793E1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E39
Deuteranopia (green-blind)
#6F6742
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f793e;
/* rgb */ color: rgb(31, 121, 62);
/* oklch */ color: oklch(51.0% 0.124 150.4);
Tailwind
colors: {
  custom: {
    50: '#69a174',
    500: '#1f793e',
    950: '#000000',
  },
}
SCSS
$custom: #1f793e;
$custom-light: #69a174;
$custom-dark: #000000;
JSON
{
  "hex": "#1f793e",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 62
  },
  "hsl": {
    "h": 140.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50959,
    "c": 0.12368,
    "h": 150.4
  },
  "luminance": 0.14314
}

Semantic roles & 50–950 ramp

primary
#1F793E
secondary
#AC478A
accent
#45ACE2
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1F793E

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

Preview Lab → · Contrast checker → · Palette generator →

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