#1C7A3F#1C7A3F

#1C7A3F is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.125 H 151.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#1C7A3F
RGBrgb(28, 122, 63)
HSLhsl(142, 63%, 29%)
HSVhsv(142, 77%, 48%)
CMYKcmyk(77%, 0%, 48.4%, 52.2%)
CIE-LABlab(44.98, -40.69, 24.76)
CIE-LCHlch(44.98, 47.63, 148.68°)
OKLaboklab(51.19% -0.1094 0.0606)
OKLCHoklch(51.19% 0.125 151)
XYZxyz(8.3349, 14.5239, 7.0658)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7A3F #7A1C57
analogous
#287A1C #1C7A3F #1C7A6E
triadic
#1C7A3F #3F1C7A #7A3F1C
tetradic
#1C7A3F #1C287A #7A1C57 #7A6E1C
square
#1C7A3F #1C287A #7A1C57 #7A6E1C
split-complementary
#1C7A3F #6E1C7A #7A1C28
monochromatic
#06190D #114825 #1C7A3F #27AC59 #3ED375

Accessibility & contrast

On white

5.38
#1C7A3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#1C7A3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7A3F
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7A3F#FFFFFF#000000##FFFFFF
##1C7A3F1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F3A
Deuteranopia (green-blind)
#6F6743
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1c7a3f;
/* rgb */ color: rgb(28, 122, 63);
/* oklch */ color: oklch(51.2% 0.125 151.0);
Tailwind
colors: {
  custom: {
    50: '#68a175',
    500: '#1c7a3f',
    950: '#000000',
  },
}
SCSS
$custom: #1c7a3f;
$custom-light: #68a175;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7a3f",
  "rgb": {
    "r": 28,
    "g": 122,
    "b": 63
  },
  "hsl": {
    "h": 142.34,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51191,
    "c": 0.1251,
    "h": 151
  },
  "luminance": 0.14525
}

Semantic roles & 50–950 ramp

primary
#1C7A3F
secondary
#AE4486
accent
#42A9E6
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1C7A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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