#1C7C2F#1C7C2F

#1C7C2F is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.143 H 146.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#1C7C2F
RGBrgb(28, 124, 47)
HSLhsl(132, 63%, 30%)
HSVhsv(132, 77%, 49%)
CMYKcmyk(77.4%, 0%, 62.1%, 51.4%)
CIE-LABlab(45.45, -43.95, 33.73)
CIE-LCHlch(45.45, 55.40, 142.49°)
OKLaboklab(51.52% -0.1184 0.0795)
OKLCHoklch(51.52% 0.143 146.1)
XYZxyz(8.1990, 14.8665, 5.1262)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7C2F #7C1C69
analogous
#397C1C #1C7C2F #1C7C5F
triadic
#1C7C2F #2F1C7C #7C2F1C
tetradic
#1C7C2F #1C397C #7C1C69 #7C5F1C
square
#1C7C2F #1C397C #7C1C69 #7C5F1C
split-complementary
#1C7C2F #5F1C7C #7C1C39
monochromatic
#061909 #114A1C #1C7C2F #27AE42 #3FD45C

Accessibility & contrast

On white

5.29
#1C7C2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#1C7C2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7C2F
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7C2F#FFFFFF#000000##FFFFFF
##1C7C2F1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7027
Deuteranopia (green-blind)
#736935
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1c7c2f;
/* rgb */ color: rgb(28, 124, 47);
/* oklch */ color: oklch(51.5% 0.143 146.1);
Tailwind
colors: {
  custom: {
    50: '#69a36a',
    500: '#1c7c2f',
    950: '#000000',
  },
}
SCSS
$custom: #1c7c2f;
$custom-light: #69a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7c2f",
  "rgb": {
    "r": 28,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 131.875,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51516,
    "c": 0.14266,
    "h": 146.1
  },
  "luminance": 0.14867
}

Semantic roles & 50–950 ramp

primary
#1C7C2F
secondary
#B0449A
accent
#42C6E6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1C7C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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