#1C7A2E#1C7A2E

#1C7A2E is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.141 H 146.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#1C7A2E
RGBrgb(28, 122, 46)
HSLhsl(131, 63%, 29%)
HSVhsv(131, 77%, 48%)
CMYKcmyk(77%, 0%, 62.3%, 52.2%)
CIE-LABlab(44.75, -43.35, 33.41)
CIE-LCHlch(44.75, 54.74, 142.38°)
OKLaboklab(50.93% -0.1169 0.0787)
OKLCHoklch(50.93% 0.141 146)
XYZxyz(7.9310, 14.3623, 4.9385)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7A2E #7A1C68
analogous
#397A1C #1C7A2E #1C7A5D
triadic
#1C7A2E #2E1C7A #7A2E1C
tetradic
#1C7A2E #1C397A #7A1C68 #7A5D1C
square
#1C7A2E #1C397A #7A1C68 #7A5D1C
split-complementary
#1C7A2E #5D1C7A #7A1C39
monochromatic
#061909 #11481B #1C7A2E #27AC41 #3ED35A

Accessibility & contrast

On white

5.42
#1C7A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#1C7A2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7A2E
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7A2E#FFFFFF#000000##FFFFFF
##1C7A2E1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E26
Deuteranopia (green-blind)
#716734
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1c7a2e;
/* rgb */ color: rgb(28, 122, 46);
/* oklch */ color: oklch(50.9% 0.141 146.0);
Tailwind
colors: {
  custom: {
    50: '#68a169',
    500: '#1c7a2e',
    950: '#000000',
  },
}
SCSS
$custom: #1c7a2e;
$custom-light: #68a169;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7a2e",
  "rgb": {
    "r": 28,
    "g": 122,
    "b": 46
  },
  "hsl": {
    "h": 131.489,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5093,
    "c": 0.14091,
    "h": 146
  },
  "luminance": 0.14363
}

Semantic roles & 50–950 ramp

primary
#1C7A2E
secondary
#AE449A
accent
#42C6E6
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1C7A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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