#1C7D2D#1C7D2D

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

Color values

HEX#1C7D2D
RGBrgb(28, 125, 45)
HSLhsl(131, 63%, 30%)
HSVhsv(131, 78%, 49%)
CMYKcmyk(77.6%, 0%, 64%, 51%)
CIE-LABlab(45.77, -44.57, 35.08)
CIE-LCHlch(45.77, 56.72, 141.80°)
OKLaboklab(51.78% -0.1202 0.0822)
OKLCHoklch(51.78% 0.146 145.6)
XYZxyz(8.2856, 15.1026, 4.9605)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7D2D #7D1C6C
analogous
#3C7D1C #1C7D2D #1C7D5D
triadic
#1C7D2D #2D1C7D #7D2D1C
tetradic
#1C7D2D #1C3C7D #7D1C6C #7D5D1C
square
#1C7D2D #1C3C7D #7D1C6C #7D5D1C
split-complementary
#1C7D2D #5D1C7D #7D1C3C
monochromatic
#061909 #114B1B #1C7D2D #27AF3F #3FD459

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1C7D2D#FFFFFF#000000##FFFFFF
##1C7D2D1.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)
#7F7124
Deuteranopia (green-blind)
#746934
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1c7d2d;
/* rgb */ color: rgb(28, 125, 45);
/* oklch */ color: oklch(51.8% 0.146 145.6);
Tailwind
colors: {
  custom: {
    50: '#69a469',
    500: '#1c7d2d',
    950: '#000000',
  },
}
SCSS
$custom: #1c7d2d;
$custom-light: #69a469;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7d2d",
  "rgb": {
    "r": 28,
    "g": 125,
    "b": 45
  },
  "hsl": {
    "h": 130.515,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.51777,
    "c": 0.14562,
    "h": 145.6
  },
  "luminance": 0.15104
}

Semantic roles & 50–950 ramp

primary
#1C7D2D
secondary
#B1449E
accent
#41CAE6
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1C7D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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