#1C792B#1C792B

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

Color values

HEX#1C792B
RGBrgb(28, 121, 43)
HSLhsl(130, 62%, 29%)
HSVhsv(130, 77%, 47%)
CMYKcmyk(76.9%, 0%, 64.5%, 52.5%)
CIE-LABlab(44.37, -43.38, 34.44)
CIE-LCHlch(44.37, 55.39, 141.55°)
OKLaboklab(50.61% -0.117 0.0807)
OKLCHoklch(50.61% 0.142 145.4)
XYZxyz(7.7518, 14.0951, 4.5971)
Luminance0.1410 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C792B #791C6A
analogous
#3C791C #1C792B #1C795A
triadic
#1C792B #2B1C79 #792B1C
tetradic
#1C792B #1C3C79 #791C6A #795A1C
square
#1C792B #1C3C79 #791C6A #795A1C
split-complementary
#1C792B #5A1C79 #791C3C
monochromatic
#061909 #104719 #1C792B #28AB3D #3DD255

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C792B#FFFFFF#000000##FFFFFF
##1C792B1.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)
#7B6D22
Deuteranopia (green-blind)
#706632
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1c792b;
/* rgb */ color: rgb(28, 121, 43);
/* oklch */ color: oklch(50.6% 0.142 145.4);
Tailwind
colors: {
  custom: {
    50: '#68a167',
    500: '#1c792b',
    950: '#000000',
  },
}
SCSS
$custom: #1c792b;
$custom-light: #68a167;
$custom-dark: #000000;
JSON
{
  "hex": "#1c792b",
  "rgb": {
    "r": 28,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 129.677,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50605,
    "c": 0.14216,
    "h": 145.4
  },
  "luminance": 0.14096
}

Semantic roles & 50–950 ramp

primary
#1C792B
secondary
#AD449C
accent
#42CBE5
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1C792B

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

Preview Lab → · Contrast checker → · Palette generator →

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