#1C7F2A#1C7F2A

#1C7F2A is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.151 H 144.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#1C7F2A
RGBrgb(28, 127, 42)
HSLhsl(128, 64%, 30%)
HSVhsv(128, 78%, 50%)
CMYKcmyk(78%, 0%, 66.9%, 50.2%)
CIE-LABlab(46.43, -45.64, 37.23)
CIE-LCHlch(46.43, 58.90, 140.80°)
OKLaboklab(52.32% -0.1232 0.0865)
OKLCHoklch(52.32% 0.151 144.9)
XYZxyz(8.4856, 15.5918, 4.7523)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7F2A #7F1C71
analogous
#3F7F1C #1C7F2A #1C7F5B
triadic
#1C7F2A #2A1C7F #7F2A1C
tetradic
#1C7F2A #1C3F7F #7F1C71 #7F5B1C
square
#1C7F2A #1C3F7F #7F1C71 #7F5B1C
split-complementary
#1C7F2A #5B1C7F #7F1C3F
monochromatic
#061B09 #114D19 #1C7F2A #27B13B #40D555

Accessibility & contrast

On white

5.10
#1C7F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#1C7F2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7F2A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7F2A#FFFFFF#000000##FFFFFF
##1C7F2A1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817320
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1c7f2a;
/* rgb */ color: rgb(28, 127, 42);
/* oklch */ color: oklch(52.3% 0.151 144.9);
Tailwind
colors: {
  custom: {
    50: '#6aa567',
    500: '#1c7f2a',
    950: '#000000',
  },
}
SCSS
$custom: #1c7f2a;
$custom-light: #6aa567;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7f2a",
  "rgb": {
    "r": 28,
    "g": 127,
    "b": 42
  },
  "hsl": {
    "h": 128.485,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52315,
    "c": 0.15056,
    "h": 144.9
  },
  "luminance": 0.15593
}

Semantic roles & 50–950 ramp

primary
#1C7F2A
secondary
#B344A3
accent
#41CFE7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1C7F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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