#1C792F#1C792F

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

Color values

HEX#1C792F
RGBrgb(28, 121, 47)
HSLhsl(132, 62%, 29%)
HSVhsv(132, 77%, 47%)
CMYKcmyk(76.9%, 0%, 61.2%, 52.5%)
CIE-LABlab(44.41, -42.85, 32.53)
CIE-LCHlch(44.41, 53.80, 142.80°)
OKLaboklab(50.66% -0.1155 0.0769)
OKLCHoklch(50.66% 0.139 146.3)
XYZxyz(7.8288, 14.1260, 5.0028)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C792F #791C66
analogous
#38791C #1C792F #1C795E
triadic
#1C792F #2F1C79 #792F1C
tetradic
#1C792F #1C3879 #791C66 #795E1C
square
#1C792F #1C3879 #791C66 #795E1C
split-complementary
#1C792F #5E1C79 #791C38
monochromatic
#06190A #10471C #1C792F #28AB42 #3DD25C

Accessibility & contrast

On white

5.49
#1C792F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1C792F
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C792F#FFFFFF#000000##FFFFFF
##1C792F1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.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: #1c792f;
/* rgb */ color: rgb(28, 121, 47);
/* oklch */ color: oklch(50.7% 0.139 146.3);
Tailwind
colors: {
  custom: {
    50: '#68a16a',
    500: '#1c792f',
    950: '#000000',
  },
}
SCSS
$custom: #1c792f;
$custom-light: #68a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c792f",
  "rgb": {
    "r": 28,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 132.258,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50656,
    "c": 0.13874,
    "h": 146.3
  },
  "luminance": 0.14127
}

Semantic roles & 50–950 ramp

primary
#1C792F
secondary
#AD4498
accent
#42C4E5
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1C792F

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

Preview Lab → · Contrast checker → · Palette generator →

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