#1C7A2F#1C7A2F

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

Color values

HEX#1C7A2F
RGBrgb(28, 122, 47)
HSLhsl(132, 63%, 29%)
HSVhsv(132, 77%, 48%)
CMYKcmyk(77%, 0%, 61.5%, 52.2%)
CIE-LABlab(44.76, -43.22, 32.93)
CIE-LCHlch(44.76, 54.34, 142.70°)
OKLaboklab(50.94% -0.1165 0.0778)
OKLCHoklch(50.94% 0.14 146.3)
XYZxyz(7.9509, 14.3703, 5.0435)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7A2F #7A1C67
analogous
#387A1C #1C7A2F #1C7A5E
triadic
#1C7A2F #2F1C7A #7A2F1C
tetradic
#1C7A2F #1C387A #7A1C67 #7A5E1C
square
#1C7A2F #1C387A #7A1C67 #7A5E1C
split-complementary
#1C7A2F #5E1C7A #7A1C38
monochromatic
#06190A #11481C #1C7A2F #27AC42 #3ED35C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C7A2F#FFFFFF#000000##FFFFFF
##1C7A2F1.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)
#7C6E27
Deuteranopia (green-blind)
#716735
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1c7a2f;
/* rgb */ color: rgb(28, 122, 47);
/* oklch */ color: oklch(50.9% 0.140 146.3);
Tailwind
colors: {
  custom: {
    50: '#68a16a',
    500: '#1c7a2f',
    950: '#000000',
  },
}
SCSS
$custom: #1c7a2f;
$custom-light: #68a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7a2f",
  "rgb": {
    "r": 28,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 132.128,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50943,
    "c": 0.14005,
    "h": 146.3
  },
  "luminance": 0.14371
}

Semantic roles & 50–950 ramp

primary
#1C7A2F
secondary
#AE4498
accent
#42C5E6
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1C7A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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