#1C792A#1C792A

#1C792A is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.6% C 0.143 H 145.2°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#1C792A
RGBrgb(28, 121, 42)
HSLhsl(129, 62%, 29%)
HSVhsv(129, 77%, 47%)
CMYKcmyk(76.9%, 0%, 65.3%, 52.5%)
CIE-LABlab(44.36, -43.50, 34.91)
CIE-LCHlch(44.36, 55.78, 141.25°)
OKLaboklab(50.59% -0.1174 0.0816)
OKLCHoklch(50.59% 0.143 145.2)
XYZxyz(7.7336, 14.0879, 4.5017)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C792A #791C6B
analogous
#3D791C #1C792A #1C7959
triadic
#1C792A #2A1C79 #792A1C
tetradic
#1C792A #1C3D79 #791C6B #79591C
square
#1C792A #1C3D79 #791C6B #79591C
split-complementary
#1C792A #591C79 #791C3D
monochromatic
#061909 #104719 #1C792A #28AB3B #3DD254

Accessibility & contrast

On white

5.50
#1C792A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#1C792A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C792A
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C792A#FFFFFF#000000##FFFFFF
##1C792A1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D21
Deuteranopia (green-blind)
#706631
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1c792a;
/* rgb */ color: rgb(28, 121, 42);
/* oklch */ color: oklch(50.6% 0.143 145.2);
Tailwind
colors: {
  custom: {
    50: '#68a167',
    500: '#1c792a',
    950: '#000000',
  },
}
SCSS
$custom: #1c792a;
$custom-light: #68a167;
$custom-dark: #000000;
JSON
{
  "hex": "#1c792a",
  "rgb": {
    "r": 28,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 129.032,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50593,
    "c": 0.14297,
    "h": 145.2
  },
  "luminance": 0.14089
}

Semantic roles & 50–950 ramp

primary
#1C792A
secondary
#AD449D
accent
#42CDE5
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1C792A

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

Preview Lab → · Contrast checker → · Palette generator →

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