#1C7F45#1C7F45

#1C7F45 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.126 H 152.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#1C7F45
RGBrgb(28, 127, 69)
HSLhsl(145, 64%, 30%)
HSVhsv(145, 78%, 50%)
CMYKcmyk(78%, 0%, 45.7%, 50.2%)
CIE-LABlab(46.78, -41.53, 23.76)
CIE-LCHlch(46.78, 47.85, 150.22°)
OKLaboklab(52.72% -0.1117 0.0586)
OKLCHoklch(52.72% 0.126 152.3)
XYZxyz(9.1416, 15.8542, 8.2074)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7F45 #7F1C56
analogous
#257F1C #1C7F45 #1C7F76
triadic
#1C7F45 #451C7F #7F451C
tetradic
#1C7F45 #1C257F #7F1C56 #7F761C
square
#1C7F45 #1C257F #7F1C56 #7F761C
split-complementary
#1C7F45 #761C7F #7F1C25
monochromatic
#061B0F #114D2A #1C7F45 #27B160 #40D57E

Accessibility & contrast

On white

5.03
#1C7F45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#1C7F45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7F45
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7F45#FFFFFF#000000##FFFFFF
##1C7F451.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7441
Deuteranopia (green-blind)
#746C49
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1c7f45;
/* rgb */ color: rgb(28, 127, 69);
/* oklch */ color: oklch(52.7% 0.126 152.3);
Tailwind
colors: {
  custom: {
    50: '#69a579',
    500: '#1c7f45',
    950: '#000000',
  },
}
SCSS
$custom: #1c7f45;
$custom-light: #69a579;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7f45",
  "rgb": {
    "r": 28,
    "g": 127,
    "b": 69
  },
  "hsl": {
    "h": 144.848,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52716,
    "c": 0.12614,
    "h": 152.3
  },
  "luminance": 0.15855
}

Semantic roles & 50–950 ramp

primary
#1C7F45
secondary
#B34485
accent
#41A2E7
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1C7F45

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

Preview Lab → · Contrast checker → · Palette generator →

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