#1C7948#1C7948

#1C7948 is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.1% C 0.115 H 155.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#1C7948
RGBrgb(28, 121, 72)
HSLhsl(148, 62%, 29%)
HSVhsv(148, 77%, 47%)
CMYKcmyk(76.9%, 0%, 40.5%, 52.5%)
CIE-LABlab(44.78, -38.54, 19.46)
CIE-LCHlch(44.78, 43.17, 153.21°)
OKLaboklab(51.08% -0.104 0.0486)
OKLCHoklch(51.08% 0.115 155)
XYZxyz(8.4852, 14.3885, 8.4597)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7948 #791C4D
analogous
#1F791C #1C7948 #1C7977
triadic
#1C7948 #481C79 #79481C
tetradic
#1C7948 #1C1F79 #791C4D #79771C
square
#1C7948 #1C1F79 #791C4D #79771C
split-complementary
#1C7948 #771C79 #791C1F
monochromatic
#06190F #10472A #1C7948 #28AB66 #3DD284

Accessibility & contrast

On white

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

On black

3.88
#1C7948 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1C7948#FFFFFF#000000##FFFFFF
##1C79481.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F45
Deuteranopia (green-blind)
#6D674B
Tritanopia (blue-blind)
#00786D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1c7948;
/* rgb */ color: rgb(28, 121, 72);
/* oklch */ color: oklch(51.1% 0.115 155.0);
Tailwind
colors: {
  custom: {
    50: '#67a07b',
    500: '#1c7948',
    950: '#000000',
  },
}
SCSS
$custom: #1c7948;
$custom-light: #67a07b;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7948",
  "rgb": {
    "r": 28,
    "g": 121,
    "b": 72
  },
  "hsl": {
    "h": 148.387,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51084,
    "c": 0.11476,
    "h": 155
  },
  "luminance": 0.1439
}

Semantic roles & 50–950 ramp

primary
#1C7948
secondary
#AD447B
accent
#4298E5
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #1C7948

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

Preview Lab → · Contrast checker → · Palette generator →

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