#1E7F28#1E7F28

#1E7F28 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.151 H 144.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#1E7F28
RGBrgb(30, 127, 40)
HSLhsl(126, 62%, 31%)
HSVhsv(126, 76%, 50%)
CMYKcmyk(76.4%, 0%, 68.5%, 50.2%)
CIE-LABlab(46.45, -45.54, 38.17)
CIE-LCHlch(46.45, 59.42, 140.03°)
OKLaboklab(52.34% -0.1231 0.0883)
OKLCHoklch(52.34% 0.152 144.4)
XYZxyz(8.5072, 15.6070, 4.5712)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7F28 #7F1E75
analogous
#447F1E #1E7F28 #1E7F58
triadic
#1E7F28 #281E7F #7F281E
tetradic
#1E7F28 #1E447F #7F1E75 #7F581E
square
#1E7F28 #1E447F #7F1E75 #7F581E
split-complementary
#1E7F28 #581E7F #7F1E44
monochromatic
#071C09 #124D18 #1E7F28 #2AB138 #44D353

Accessibility & contrast

On white

5.10
#1E7F28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#1E7F28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7F28
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7F28#FFFFFF#000000##FFFFFF
##1E7F281.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81731D
Deuteranopia (green-blind)
#766B30
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1e7f28;
/* rgb */ color: rgb(30, 127, 40);
/* oklch */ color: oklch(52.3% 0.151 144.4);
Tailwind
colors: {
  custom: {
    50: '#6ba566',
    500: '#1e7f28',
    950: '#000000',
  },
}
SCSS
$custom: #1e7f28;
$custom-light: #6ba566;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7f28",
  "rgb": {
    "r": 30,
    "g": 127,
    "b": 40
  },
  "hsl": {
    "h": 126.186,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52337,
    "c": 0.1515,
    "h": 144.4
  },
  "luminance": 0.15608
}

Semantic roles & 50–950 ramp

primary
#1E7F28
secondary
#B247A7
accent
#43D4E5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #1E7F28

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

Preview Lab → · Contrast checker → · Palette generator →

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