#1E7828#1E7828

#1E7828 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.3% C 0.143 H 144.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#1E7828
RGBrgb(30, 120, 40)
HSLhsl(127, 60%, 29%)
HSVhsv(127, 75%, 47%)
CMYKcmyk(75%, 0%, 66.7%, 52.9%)
CIE-LABlab(44.03, -43.03, 35.50)
CIE-LCHlch(44.03, 55.79, 140.48°)
OKLaboklab(50.33% -0.1163 0.0826)
OKLCHoklch(50.33% 0.143 144.6)
XYZxyz(7.6344, 13.8613, 4.2802)
Luminance0.1386 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7828 #781E6E
analogous
#41781E #1E7828 #1E7855
triadic
#1E7828 #281E78 #78281E
tetradic
#1E7828 #1E4178 #781E6E #78551E
square
#1E7828 #1E4178 #781E6E #78551E
split-complementary
#1E7828 #551E78 #781E41
monochromatic
#061808 #124718 #1E7828 #2AA938 #41CF51

Accessibility & contrast

On white

5.57
#1E7828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#1E7828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7828
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7828#FFFFFF#000000##FFFFFF
##1E78281.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C1E
Deuteranopia (green-blind)
#70652F
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #1e7828;
/* rgb */ color: rgb(30, 120, 40);
/* oklch */ color: oklch(50.3% 0.143 144.6);
Tailwind
colors: {
  custom: {
    50: '#69a066',
    500: '#1e7828',
    950: '#000000',
  },
}
SCSS
$custom: #1e7828;
$custom-light: #69a066;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7828",
  "rgb": {
    "r": 30,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 126.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50329,
    "c": 0.14267,
    "h": 144.6
  },
  "luminance": 0.13862
}

Semantic roles & 50–950 ramp

primary
#1E7828
secondary
#AC46A0
accent
#45D2E3
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #1E7828

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

Preview Lab → · Contrast checker → · Palette generator →

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