#1C7D2F#1C7D2F

#1C7D2F is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.144 H 146.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#1C7D2F
RGBrgb(28, 125, 47)
HSLhsl(132, 63%, 30%)
HSVhsv(132, 78%, 49%)
CMYKcmyk(77.6%, 0%, 62.4%, 51%)
CIE-LABlab(45.80, -44.31, 34.13)
CIE-LCHlch(45.80, 55.93, 142.39°)
OKLaboklab(51.8% -0.1194 0.0804)
OKLCHoklch(51.8% 0.144 146.1)
XYZxyz(8.3250, 15.1184, 5.1682)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7D2F #7D1C6A
analogous
#397D1C #1C7D2F #1C7D60
triadic
#1C7D2F #2F1C7D #7D2F1C
tetradic
#1C7D2F #1C397D #7D1C6A #7D601C
square
#1C7D2F #1C397D #7D1C6A #7D601C
split-complementary
#1C7D2F #601C7D #7D1C39
monochromatic
#061909 #114B1C #1C7D2F #27AF42 #3FD45C

Accessibility & contrast

On white

5.22
#1C7D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#1C7D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7D2F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7D2F#FFFFFF#000000##FFFFFF
##1C7D2F1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7127
Deuteranopia (green-blind)
#746935
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1c7d2f;
/* rgb */ color: rgb(28, 125, 47);
/* oklch */ color: oklch(51.8% 0.144 146.1);
Tailwind
colors: {
  custom: {
    50: '#69a46a',
    500: '#1c7d2f',
    950: '#000000',
  },
}
SCSS
$custom: #1c7d2f;
$custom-light: #69a46a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7d2f",
  "rgb": {
    "r": 28,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 131.753,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.51802,
    "c": 0.14395,
    "h": 146.1
  },
  "luminance": 0.15119
}

Semantic roles & 50–950 ramp

primary
#1C7D2F
secondary
#B1449B
accent
#41C6E6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1C7D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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