#1C7A45#1C7A45

#1C7A45 is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.3% C 0.119 H 153.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#1C7A45
RGBrgb(28, 122, 69)
HSLhsl(146, 63%, 29%)
HSVhsv(146, 77%, 48%)
CMYKcmyk(77%, 0%, 43.4%, 52.2%)
CIE-LABlab(45.07, -39.55, 21.54)
CIE-LCHlch(45.07, 45.04, 151.42°)
OKLaboklab(51.31% -0.1065 0.0534)
OKLCHoklch(51.31% 0.119 153.4)
XYZxyz(8.5118, 14.5946, 7.9975)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7A45 #7A1C51
analogous
#227A1C #1C7A45 #1C7A74
triadic
#1C7A45 #451C7A #7A451C
tetradic
#1C7A45 #1C227A #7A1C51 #7A741C
square
#1C7A45 #1C227A #7A1C51 #7A741C
split-complementary
#1C7A45 #741C7A #7A1C22
monochromatic
#06190E #114829 #1C7A45 #27AC61 #3ED37F

Accessibility & contrast

On white

5.36
#1C7A45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#1C7A45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7A45
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7A45#FFFFFF#000000##FFFFFF
##1C7A451.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F41
Deuteranopia (green-blind)
#6F6749
Tritanopia (blue-blind)
#00786D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1c7a45;
/* rgb */ color: rgb(28, 122, 69);
/* oklch */ color: oklch(51.3% 0.119 153.4);
Tailwind
colors: {
  custom: {
    50: '#68a179',
    500: '#1c7a45',
    950: '#000000',
  },
}
SCSS
$custom: #1c7a45;
$custom-light: #68a179;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7a45",
  "rgb": {
    "r": 28,
    "g": 122,
    "b": 69
  },
  "hsl": {
    "h": 146.17,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51305,
    "c": 0.11916,
    "h": 153.4
  },
  "luminance": 0.14596
}

Semantic roles & 50–950 ramp

primary
#1C7A45
secondary
#AE4480
accent
#429EE6
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1C7A45

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

Preview Lab → · Contrast checker → · Palette generator →

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