#1C7D2C#1C7D2C

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

Color values

HEX#1C7D2C
RGBrgb(28, 125, 44)
HSLhsl(130, 63%, 30%)
HSVhsv(130, 78%, 49%)
CMYKcmyk(77.6%, 0%, 64.8%, 51%)
CIE-LABlab(45.76, -44.70, 35.54)
CIE-LCHlch(45.76, 57.10, 141.51°)
OKLaboklab(51.77% -0.1206 0.0831)
OKLCHoklch(51.77% 0.146 145.4)
XYZxyz(8.2665, 15.0950, 4.8603)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7D2C #7D1C6D
analogous
#3C7D1C #1C7D2C #1C7D5D
triadic
#1C7D2C #2C1C7D #7D2C1C
tetradic
#1C7D2C #1C3C7D #7D1C6D #7D5D1C
square
#1C7D2C #1C3C7D #7D1C6D #7D5D1C
split-complementary
#1C7D2C #5D1C7D #7D1C3C
monochromatic
#061909 #114B1A #1C7D2C #27AF3E #3FD458

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C7D2C#FFFFFF#000000##FFFFFF
##1C7D2C1.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)
#7F7123
Deuteranopia (green-blind)
#746933
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1c7d2c;
/* rgb */ color: rgb(28, 125, 44);
/* oklch */ color: oklch(51.8% 0.146 145.4);
Tailwind
colors: {
  custom: {
    50: '#69a468',
    500: '#1c7d2c',
    950: '#000000',
  },
}
SCSS
$custom: #1c7d2c;
$custom-light: #69a468;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7d2c",
  "rgb": {
    "r": 28,
    "g": 125,
    "b": 44
  },
  "hsl": {
    "h": 129.897,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.51765,
    "c": 0.14644,
    "h": 145.4
  },
  "luminance": 0.15096
}

Semantic roles & 50–950 ramp

primary
#1C7D2C
secondary
#B1449F
accent
#41CBE6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1C7D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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