#1F792C#1F792C

#1F792C is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.140 H 145.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#1F792C
RGBrgb(31, 121, 44)
HSLhsl(129, 59%, 30%)
HSVhsv(129, 74%, 47%)
CMYKcmyk(74.4%, 0%, 63.6%, 52.5%)
CIE-LABlab(44.44, -42.73, 34.06)
CIE-LCHlch(44.44, 54.64, 141.44°)
OKLaboklab(50.69% -0.1154 0.0799)
OKLCHoklch(50.69% 0.14 145.3)
XYZxyz(7.8565, 14.1470, 4.6990)
Luminance0.1415 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F792C #791F6C
analogous
#3F791F #1F792C #1F7959
triadic
#1F792C #2C1F79 #792C1F
tetradic
#1F792C #1F3F79 #791F6C #79591F
square
#1F792C #1F3F79 #791F6C #79591F
split-complementary
#1F792C #591F79 #791F3F
monochromatic
#061809 #13481A #1F792C #2BAA3E #43CF58

Accessibility & contrast

On white

5.48
#1F792C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#1F792C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F792C
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F792C#FFFFFF#000000##FFFFFF
##1F792C1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D24
Deuteranopia (green-blind)
#716632
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1f792c;
/* rgb */ color: rgb(31, 121, 44);
/* oklch */ color: oklch(50.7% 0.140 145.3);
Tailwind
colors: {
  custom: {
    50: '#69a168',
    500: '#1f792c',
    950: '#000000',
  },
}
SCSS
$custom: #1f792c;
$custom-light: #69a168;
$custom-dark: #000000;
JSON
{
  "hex": "#1f792c",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 128.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50688,
    "c": 0.14035,
    "h": 145.3
  },
  "luminance": 0.14148
}

Semantic roles & 50–950 ramp

primary
#1F792C
secondary
#AC479E
accent
#45CCE2
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1F792C

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

Preview Lab → · Contrast checker → · Palette generator →

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