#1C7A2B#1C7A2B

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

Color values

HEX#1C7A2B
RGBrgb(28, 122, 43)
HSLhsl(130, 63%, 29%)
HSVhsv(130, 77%, 48%)
CMYKcmyk(77%, 0%, 64.8%, 52.2%)
CIE-LABlab(44.72, -43.74, 34.84)
CIE-LCHlch(44.72, 55.92, 141.47°)
OKLaboklab(50.89% -0.118 0.0815)
OKLCHoklch(50.89% 0.143 145.4)
XYZxyz(7.8739, 14.3395, 4.6378)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7A2B #7A1C6B
analogous
#3C7A1C #1C7A2B #1C7A5A
triadic
#1C7A2B #2B1C7A #7A2B1C
tetradic
#1C7A2B #1C3C7A #7A1C6B #7A5A1C
square
#1C7A2B #1C3C7A #7A1C6B #7A5A1C
split-complementary
#1C7A2B #5A1C7A #7A1C3C
monochromatic
#061909 #114819 #1C7A2B #27AC3D #3ED356

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C7A2B#FFFFFF#000000##FFFFFF
##1C7A2B1.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)
#7C6E22
Deuteranopia (green-blind)
#716732
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1c7a2b;
/* rgb */ color: rgb(28, 122, 43);
/* oklch */ color: oklch(50.9% 0.143 145.4);
Tailwind
colors: {
  custom: {
    50: '#69a168',
    500: '#1c7a2b',
    950: '#000000',
  },
}
SCSS
$custom: #1c7a2b;
$custom-light: #69a168;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7a2b",
  "rgb": {
    "r": 28,
    "g": 122,
    "b": 43
  },
  "hsl": {
    "h": 129.574,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50892,
    "c": 0.14344,
    "h": 145.4
  },
  "luminance": 0.1434
}

Semantic roles & 50–950 ramp

primary
#1C7A2B
secondary
#AE449D
accent
#42CCE6
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1C7A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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