#1C7D1E#1C7D1E

#1C7D1E is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.157 H 143.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#1C7D1E
RGBrgb(28, 125, 30)
HSLhsl(121, 63%, 30%)
HSVhsv(121, 78%, 49%)
CMYKcmyk(77.6%, 0%, 76%, 51%)
CIE-LABlab(45.64, -46.16, 41.50)
CIE-LCHlch(45.64, 62.07, 138.04°)
OKLaboklab(51.63% -0.1252 0.094)
OKLCHoklch(51.63% 0.157 143.1)
XYZxyz(8.0463, 15.0069, 3.7006)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7D1E #7D1C7B
analogous
#4B7D1C #1C7D1E #1C7D4E
triadic
#1C7D1E #1E1C7D #7D1E1C
tetradic
#1C7D1E #1C4B7D #7D1C7B #7D4E1C
square
#1C7D1E #1C4B7D #7D1C7B #7D4E1C
split-complementary
#1C7D1E #4E1C7D #7D1C4B
monochromatic
#061906 #114B12 #1C7D1E #27AF2A #3FD442

Accessibility & contrast

On white

5.25
#1C7D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#1C7D1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7D1E
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7D1E#FFFFFF#000000##FFFFFF
##1C7D1E1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710C
Deuteranopia (green-blind)
#756928
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1c7d1e;
/* rgb */ color: rgb(28, 125, 30);
/* oklch */ color: oklch(51.6% 0.157 143.1);
Tailwind
colors: {
  custom: {
    50: '#6aa460',
    500: '#1c7d1e',
    950: '#000000',
  },
}
SCSS
$custom: #1c7d1e;
$custom-light: #6aa460;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7d1e",
  "rgb": {
    "r": 28,
    "g": 125,
    "b": 30
  },
  "hsl": {
    "h": 121.237,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.51627,
    "c": 0.15654,
    "h": 143.1
  },
  "luminance": 0.15008
}

Semantic roles & 50–950 ramp

primary
#1C7D1E
secondary
#B144AE
accent
#41E3E6
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1C7D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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