#1C7E1E#1C7E1E

#1C7E1E is a mid, vivid green. Relative luminance 0.153; OKLCH L 51.9% C 0.158 H 143.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#1C7E1E
RGBrgb(28, 126, 30)
HSLhsl(121, 64%, 30%)
HSVhsv(121, 78%, 49%)
CMYKcmyk(77.8%, 0%, 76.2%, 50.6%)
CIE-LABlab(45.99, -46.50, 41.85)
CIE-LCHlch(45.99, 62.56, 138.01°)
OKLaboklab(51.91% -0.1261 0.0947)
OKLCHoklch(51.91% 0.158 143.1)
XYZxyz(8.1736, 15.2614, 3.7430)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C7E1E #7E1C7C
analogous
#4B7E1C #1C7E1E #1C7E4F
triadic
#1C7E1E #1E1C7E #7E1E1C
tetradic
#1C7E1E #1C4B7E #7E1C7C #7E4F1C
square
#1C7E1E #1C4B7E #7E1C7C #7E4F1C
split-complementary
#1C7E1E #4F1C7E #7E1C4B
monochromatic
#061A06 #114C12 #1C7E1E #27B02A #40D543

Accessibility & contrast

On white

5.18
#1C7E1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#1C7E1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1C7E1E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C7E1E#FFFFFF#000000##FFFFFF
##1C7E1E1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81710C
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1c7e1e;
/* rgb */ color: rgb(28, 126, 30);
/* oklch */ color: oklch(51.9% 0.158 143.1);
Tailwind
colors: {
  custom: {
    50: '#6aa461',
    500: '#1c7e1e',
    950: '#000000',
  },
}
SCSS
$custom: #1c7e1e;
$custom-light: #6aa461;
$custom-dark: #000000;
JSON
{
  "hex": "#1c7e1e",
  "rgb": {
    "r": 28,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 121.224,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51914,
    "c": 0.15772,
    "h": 143.1
  },
  "luminance": 0.15262
}

Semantic roles & 50–950 ramp

primary
#1C7E1E
secondary
#B244AF
accent
#41E3E7
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #1C7E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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