#1E7E2B#1E7E2B

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

Color values

HEX#1E7E2B
RGBrgb(30, 126, 43)
HSLhsl(128, 62%, 31%)
HSVhsv(128, 76%, 49%)
CMYKcmyk(76.2%, 0%, 65.9%, 50.6%)
CIE-LABlab(46.14, -44.84, 36.45)
CIE-LCHlch(46.14, 57.79, 140.90°)
OKLaboklab(52.08% -0.1211 0.0849)
OKLCHoklch(52.08% 0.148 145)
XYZxyz(8.4317, 15.3712, 4.8076)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7E2B #7E1E71
analogous
#417E1E #1E7E2B #1E7E5B
triadic
#1E7E2B #2B1E7E #7E2B1E
tetradic
#1E7E2B #1E417E #7E1E71 #7E5B1E
square
#1E7E2B #1E417E #7E1E71 #7E5B1E
split-complementary
#1E7E2B #5B1E7E #7E1E41
monochromatic
#061B09 #124D1A #1E7E2B #2AAF3C #44D257

Accessibility & contrast

On white

5.15
#1E7E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1E7E2B
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7E2B#FFFFFF#000000##FFFFFF
##1E7E2B1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807221
Deuteranopia (green-blind)
#756A32
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1e7e2b;
/* rgb */ color: rgb(30, 126, 43);
/* oklch */ color: oklch(52.1% 0.148 145.0);
Tailwind
colors: {
  custom: {
    50: '#6aa468',
    500: '#1e7e2b',
    950: '#000000',
  },
}
SCSS
$custom: #1e7e2b;
$custom-light: #6aa468;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7e2b",
  "rgb": {
    "r": 30,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 128.125,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52084,
    "c": 0.14793,
    "h": 145
  },
  "luminance": 0.15372
}

Semantic roles & 50–950 ramp

primary
#1E7E2B
secondary
#B147A3
accent
#43CFE5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1E7E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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