#1F792D#1F792D

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

Color values

HEX#1F792D
RGBrgb(31, 121, 45)
HSLhsl(129, 59%, 30%)
HSVhsv(129, 74%, 47%)
CMYKcmyk(74.4%, 0%, 62.8%, 52.5%)
CIE-LABlab(44.45, -42.60, 33.58)
CIE-LCHlch(44.45, 54.24, 141.75°)
OKLaboklab(50.7% -0.115 0.079)
OKLCHoklch(50.7% 0.14 145.5)
XYZxyz(7.8756, 14.1546, 4.7992)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F792D #791F6B
analogous
#3E791F #1F792D #1F795A
triadic
#1F792D #2D1F79 #792D1F
tetradic
#1F792D #1F3E79 #791F6B #795A1F
square
#1F792D #1F3E79 #791F6B #795A1F
split-complementary
#1F792D #5A1F79 #791F3E
monochromatic
#061809 #13481B #1F792D #2BAA3F #43CF59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F792D#FFFFFF#000000##FFFFFF
##1F792D1.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)
#7B6E25
Deuteranopia (green-blind)
#716633
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1f792d;
/* rgb */ color: rgb(31, 121, 45);
/* oklch */ color: oklch(50.7% 0.140 145.5);
Tailwind
colors: {
  custom: {
    50: '#69a169',
    500: '#1f792d',
    950: '#000000',
  },
}
SCSS
$custom: #1f792d;
$custom-light: #69a169;
$custom-dark: #000000;
JSON
{
  "hex": "#1f792d",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 129.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.507,
    "c": 0.13951,
    "h": 145.5
  },
  "luminance": 0.14156
}

Semantic roles & 50–950 ramp

primary
#1F792D
secondary
#AC479D
accent
#45CAE2
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1F792D

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

Preview Lab → · Contrast checker → · Palette generator →

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