#1C7A2A#1C7A2A

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

Color values

HEX#1C7A2A
RGBrgb(28, 122, 42)
HSLhsl(129, 63%, 29%)
HSVhsv(129, 77%, 48%)
CMYKcmyk(77%, 0%, 65.6%, 52.2%)
CIE-LABlab(44.71, -43.86, 35.30)
CIE-LCHlch(44.71, 56.30, 141.17°)
OKLaboklab(50.88% -0.1184 0.0824)
OKLCHoklch(50.88% 0.144 145.2)
XYZxyz(7.8558, 14.3322, 4.5424)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7A2A #7A1C6C
analogous
#3D7A1C #1C7A2A #1C7A59
triadic
#1C7A2A #2A1C7A #7A2A1C
tetradic
#1C7A2A #1C3D7A #7A1C6C #7A591C
square
#1C7A2A #1C3D7A #7A1C6C #7A591C
split-complementary
#1C7A2A #591C7A #7A1C3D
monochromatic
#061909 #114819 #1C7A2A #27AC3B #3ED354

Accessibility & contrast

On white

5.43
#1C7A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1C7A2A
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7A2A#FFFFFF#000000##FFFFFF
##1C7A2A1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E21
Deuteranopia (green-blind)
#716731
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1c7a2a;
/* rgb */ color: rgb(28, 122, 42);
/* oklch */ color: oklch(50.9% 0.144 145.2);
Tailwind
colors: {
  custom: {
    50: '#69a167',
    500: '#1c7a2a',
    950: '#000000',
  },
}
SCSS
$custom: #1c7a2a;
$custom-light: #69a167;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7a2a",
  "rgb": {
    "r": 28,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 128.936,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50881,
    "c": 0.14425,
    "h": 145.2
  },
  "luminance": 0.14333
}

Semantic roles & 50–950 ramp

primary
#1C7A2A
secondary
#AE449E
accent
#42CDE6
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1C7A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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