#1C7845#1C7845

#1C7845 is a mid, moderate green. Relative luminance 0.141; OKLCH L 50.7% C 0.116 H 153.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#1C7845
RGBrgb(28, 120, 69)
HSLhsl(147, 62%, 29%)
HSVhsv(147, 77%, 47%)
CMYKcmyk(76.7%, 0%, 42.5%, 52.9%)
CIE-LABlab(44.39, -38.74, 20.64)
CIE-LCHlch(44.39, 43.90, 151.95°)
OKLaboklab(50.74% -0.1044 0.0513)
OKLCHoklch(50.74% 0.116 153.8)
XYZxyz(8.2688, 14.1085, 7.9165)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7845 #781C4F
analogous
#21781C #1C7845 #1C7873
triadic
#1C7845 #451C78 #78451C
tetradic
#1C7845 #1C2178 #781C4F #78731C
square
#1C7845 #1C2178 #781C4F #78731C
split-complementary
#1C7845 #731C78 #781C21
monochromatic
#06190E #104628 #1C7845 #28AA62 #3DD27F

Accessibility & contrast

On white

5.49
#1C7845 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#1C7845 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7845
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7845#FFFFFF#000000##FFFFFF
##1C78451.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786E41
Deuteranopia (green-blind)
#6D6648
Tritanopia (blue-blind)
#00766B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1c7845;
/* rgb */ color: rgb(28, 120, 69);
/* oklch */ color: oklch(50.7% 0.116 153.8);
Tailwind
colors: {
  custom: {
    50: '#67a079',
    500: '#1c7845',
    950: '#000000',
  },
}
SCSS
$custom: #1c7845;
$custom-light: #67a079;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7845",
  "rgb": {
    "r": 28,
    "g": 120,
    "b": 69
  },
  "hsl": {
    "h": 146.739,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50739,
    "c": 0.11634,
    "h": 153.8
  },
  "luminance": 0.14109
}

Semantic roles & 50–950 ramp

primary
#1C7845
secondary
#AC447E
accent
#439DE5
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #1C7845

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

Preview Lab → · Contrast checker → · Palette generator →

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