#1E7E28#1E7E28

#1E7E28 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.150 H 144.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#1E7E28
RGBrgb(30, 126, 40)
HSLhsl(126, 62%, 31%)
HSVhsv(126, 76%, 49%)
CMYKcmyk(76.2%, 0%, 68.3%, 50.6%)
CIE-LABlab(46.11, -45.19, 37.79)
CIE-LCHlch(46.11, 58.91, 140.09°)
OKLaboklab(52.05% -0.1222 0.0875)
OKLCHoklch(52.05% 0.15 144.4)
XYZxyz(8.3787, 15.3500, 4.5283)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7E28 #7E1E74
analogous
#447E1E #1E7E28 #1E7E58
triadic
#1E7E28 #281E7E #7E281E
tetradic
#1E7E28 #1E447E #7E1E74 #7E581E
square
#1E7E28 #1E447E #7E1E74 #7E581E
split-complementary
#1E7E28 #581E7E #7E1E44
monochromatic
#061B09 #124D18 #1E7E28 #2AAF38 #44D253

Accessibility & contrast

On white

5.16
#1E7E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#1E7E28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7E28
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7E28#FFFFFF#000000##FFFFFF
##1E7E281.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721D
Deuteranopia (green-blind)
#756A30
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1e7e28;
/* rgb */ color: rgb(30, 126, 40);
/* oklch */ color: oklch(52.1% 0.150 144.4);
Tailwind
colors: {
  custom: {
    50: '#6aa466',
    500: '#1e7e28',
    950: '#000000',
  },
}
SCSS
$custom: #1e7e28;
$custom-light: #6aa466;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7e28",
  "rgb": {
    "r": 30,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 126.25,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52051,
    "c": 0.15026,
    "h": 144.4
  },
  "luminance": 0.15351
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E7E28

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

Preview Lab → · Contrast checker → · Palette generator →

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