#1F792F#1F792F

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

Color values

HEX#1F792F
RGBrgb(31, 121, 47)
HSLhsl(131, 59%, 30%)
HSVhsv(131, 74%, 47%)
CMYKcmyk(74.4%, 0%, 61.2%, 52.5%)
CIE-LABlab(44.48, -42.33, 32.62)
CIE-LCHlch(44.48, 53.44, 142.38°)
OKLaboklab(50.73% -0.1142 0.0771)
OKLCHoklch(50.73% 0.138 146)
XYZxyz(7.9150, 14.1704, 5.0068)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F792F #791F69
analogous
#3C791F #1F792F #1F795C
triadic
#1F792F #2F1F79 #792F1F
tetradic
#1F792F #1F3C79 #791F69 #795C1F
square
#1F792F #1F3C79 #791F69 #795C1F
split-complementary
#1F792F #5C1F79 #791F3C
monochromatic
#061809 #13481C #1F792F #2BAA42 #43CF5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F792F#FFFFFF#000000##FFFFFF
##1F792F1.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)
#7B6E27
Deuteranopia (green-blind)
#706635
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1f792f;
/* rgb */ color: rgb(31, 121, 47);
/* oklch */ color: oklch(50.7% 0.138 146.0);
Tailwind
colors: {
  custom: {
    50: '#69a16a',
    500: '#1f792f',
    950: '#000000',
  },
}
SCSS
$custom: #1f792f;
$custom-light: #69a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f792f",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 130.667,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50726,
    "c": 0.13777,
    "h": 146
  },
  "luminance": 0.14171
}

Semantic roles & 50–950 ramp

primary
#1F792F
secondary
#AC479A
accent
#45C6E2
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1F792F

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

Preview Lab → · Contrast checker → · Palette generator →

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