#1F794B#1F794B

#1F794B is a mid, moderate green. Relative luminance 0.145; OKLCH L 51.2% C 0.111 H 156.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#1F794B
RGBrgb(31, 121, 75)
HSLhsl(149, 59%, 30%)
HSVhsv(149, 74%, 47%)
CMYKcmyk(74.4%, 0%, 38%, 52.5%)
CIE-LABlab(44.90, -37.43, 17.91)
CIE-LCHlch(44.90, 41.49, 154.42°)
OKLaboklab(51.22% -0.1012 0.0449)
OKLCHoklch(51.22% 0.111 156.1)
XYZxyz(8.6716, 14.4731, 8.9918)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F794B #791F4D
analogous
#20791F #1F794B #1F7978
triadic
#1F794B #4B1F79 #794B1F
tetradic
#1F794B #1F2079 #791F4D #79781F
square
#1F794B #1F2079 #791F4D #79781F
split-complementary
#1F794B #781F79 #791F20
monochromatic
#06180F #13482D #1F794B #2BAA69 #43CF88

Accessibility & contrast

On white

5.39
#1F794B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#1F794B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F794B
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F794B#FFFFFF#000000##FFFFFF
##1F794B1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F48
Deuteranopia (green-blind)
#6D674E
Tritanopia (blue-blind)
#00786D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1f794b;
/* rgb */ color: rgb(31, 121, 75);
/* oklch */ color: oklch(51.2% 0.111 156.1);
Tailwind
colors: {
  custom: {
    50: '#68a07d',
    500: '#1f794b',
    950: '#000000',
  },
}
SCSS
$custom: #1f794b;
$custom-light: #68a07d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f794b",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 75
  },
  "hsl": {
    "h": 149.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51219,
    "c": 0.11074,
    "h": 156.1
  },
  "luminance": 0.14474
}

Semantic roles & 50–950 ramp

primary
#1F794B
secondary
#AC477B
accent
#4596E2
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #1F794B

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

Preview Lab → · Contrast checker → · Palette generator →

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