#1C7F2F#1C7F2F

#1C7F2F is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.147 H 145.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#1C7F2F
RGBrgb(28, 127, 47)
HSLhsl(132, 64%, 30%)
HSVhsv(132, 78%, 50%)
CMYKcmyk(78%, 0%, 63%, 50.2%)
CIE-LABlab(46.49, -45.03, 34.92)
CIE-LCHlch(46.49, 56.99, 142.21°)
OKLaboklab(52.37% -0.1214 0.0821)
OKLCHoklch(52.37% 0.147 145.9)
XYZxyz(8.5807, 15.6299, 5.2534)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7F2F #7F1C6C
analogous
#3A7F1C #1C7F2F #1C7F60
triadic
#1C7F2F #2F1C7F #7F2F1C
tetradic
#1C7F2F #1C3A7F #7F1C6C #7F601C
square
#1C7F2F #1C3A7F #7F1C6C #7F601C
split-complementary
#1C7F2F #601C7F #7F1C3A
monochromatic
#061B0A #114D1C #1C7F2F #27B142 #40D55D

Accessibility & contrast

On white

5.09
#1C7F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#1C7F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7F2F
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7F2F#FFFFFF#000000##FFFFFF
##1C7F2F1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#766B36
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1c7f2f;
/* rgb */ color: rgb(28, 127, 47);
/* oklch */ color: oklch(52.4% 0.147 145.9);
Tailwind
colors: {
  custom: {
    50: '#6aa56a',
    500: '#1c7f2f',
    950: '#000000',
  },
}
SCSS
$custom: #1c7f2f;
$custom-light: #6aa56a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7f2f",
  "rgb": {
    "r": 28,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 131.515,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52373,
    "c": 0.14652,
    "h": 145.9
  },
  "luminance": 0.15631
}

Semantic roles & 50–950 ramp

primary
#1C7F2F
secondary
#B3449D
accent
#41C7E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1C7F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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