#1C7F2E#1C7F2E

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

Color values

HEX#1C7F2E
RGBrgb(28, 127, 46)
HSLhsl(131, 64%, 30%)
HSVhsv(131, 78%, 50%)
CMYKcmyk(78%, 0%, 63.8%, 50.2%)
CIE-LABlab(46.47, -45.16, 35.39)
CIE-LCHlch(46.47, 57.38, 141.91°)
OKLaboklab(52.36% -0.1217 0.083)
OKLCHoklch(52.36% 0.147 145.7)
XYZxyz(8.5608, 15.6219, 5.1484)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7F2E #7F1C6D
analogous
#3B7F1C #1C7F2E #1C7F5F
triadic
#1C7F2E #2E1C7F #7F2E1C
tetradic
#1C7F2E #1C3B7F #7F1C6D #7F5F1C
square
#1C7F2E #1C3B7F #7F1C6D #7F5F1C
split-complementary
#1C7F2E #5F1C7F #7F1C3B
monochromatic
#061B0A #114D1C #1C7F2E #27B140 #40D55B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C7F2E#FFFFFF#000000##FFFFFF
##1C7F2E1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c7f2e;
/* rgb */ color: rgb(28, 127, 46);
/* oklch */ color: oklch(52.4% 0.147 145.7);
Tailwind
colors: {
  custom: {
    50: '#6aa56a',
    500: '#1c7f2e',
    950: '#000000',
  },
}
SCSS
$custom: #1c7f2e;
$custom-light: #6aa56a;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7f2e",
  "rgb": {
    "r": 28,
    "g": 127,
    "b": 46
  },
  "hsl": {
    "h": 130.909,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52361,
    "c": 0.14735,
    "h": 145.7
  },
  "luminance": 0.15623
}

Semantic roles & 50–950 ramp

primary
#1C7F2E
secondary
#B3449F
accent
#41C9E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1C7F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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