#1F792E#1F792E

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

Color values

HEX#1F792E
RGBrgb(31, 121, 46)
HSLhsl(130, 59%, 30%)
HSVhsv(130, 74%, 47%)
CMYKcmyk(74.4%, 0%, 62%, 52.5%)
CIE-LABlab(44.46, -42.47, 33.10)
CIE-LCHlch(44.46, 53.84, 142.06°)
OKLaboklab(50.71% -0.1146 0.0781)
OKLCHoklch(50.71% 0.139 145.7)
XYZxyz(7.8950, 14.1624, 4.9018)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F792E #791F6A
analogous
#3D791F #1F792E #1F795B
triadic
#1F792E #2E1F79 #792E1F
tetradic
#1F792E #1F3D79 #791F6A #795B1F
square
#1F792E #1F3D79 #791F6A #795B1F
split-complementary
#1F792E #5B1F79 #791F3D
monochromatic
#061809 #13481B #1F792E #2BAA41 #43CF5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F792E#FFFFFF#000000##FFFFFF
##1F792E1.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)
#7B6E26
Deuteranopia (green-blind)
#706634
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1f792e;
/* rgb */ color: rgb(31, 121, 46);
/* oklch */ color: oklch(50.7% 0.139 145.7);
Tailwind
colors: {
  custom: {
    50: '#69a169',
    500: '#1f792e',
    950: '#000000',
  },
}
SCSS
$custom: #1f792e;
$custom-light: #69a169;
$custom-dark: #000000;
JSON
{
  "hex": "#1f792e",
  "rgb": {
    "r": 31,
    "g": 121,
    "b": 46
  },
  "hsl": {
    "h": 130,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50713,
    "c": 0.13864,
    "h": 145.7
  },
  "luminance": 0.14163
}

Semantic roles & 50–950 ramp

primary
#1F792E
secondary
#AC479C
accent
#45C8E2
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1F792E

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

Preview Lab → · Contrast checker → · Palette generator →

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