#1C792D#1C792D

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

Color values

HEX#1C792D
RGBrgb(28, 121, 45)
HSLhsl(131, 62%, 29%)
HSVhsv(131, 77%, 47%)
CMYKcmyk(76.9%, 0%, 62.8%, 52.5%)
CIE-LABlab(44.39, -43.12, 33.49)
CIE-LCHlch(44.39, 54.60, 142.16°)
OKLaboklab(50.63% -0.1163 0.0788)
OKLCHoklch(50.63% 0.14 145.9)
XYZxyz(7.7894, 14.1102, 4.7951)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C792D #791C68
analogous
#3A791C #1C792D #1C795C
triadic
#1C792D #2D1C79 #792D1C
tetradic
#1C792D #1C3A79 #791C68 #795C1C
square
#1C792D #1C3A79 #791C68 #795C1C
split-complementary
#1C792D #5C1C79 #791C3A
monochromatic
#061909 #10471B #1C792D #28AB3F #3DD258

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C792D#FFFFFF#000000##FFFFFF
##1C792D1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D25
Deuteranopia (green-blind)
#706633
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1c792d;
/* rgb */ color: rgb(28, 121, 45);
/* oklch */ color: oklch(50.6% 0.140 145.9);
Tailwind
colors: {
  custom: {
    50: '#68a169',
    500: '#1c792d',
    950: '#000000',
  },
}
SCSS
$custom: #1c792d;
$custom-light: #68a169;
$custom-dark: #000000;
JSON
{
  "hex": "#1c792d",
  "rgb": {
    "r": 28,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 130.968,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5063,
    "c": 0.14047,
    "h": 145.9
  },
  "luminance": 0.14111
}

Semantic roles & 50–950 ramp

primary
#1C792D
secondary
#AD449A
accent
#42C8E5
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1C792D

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

Preview Lab → · Contrast checker → · Palette generator →

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