#1E7B45#1E7B45

#1E7B45 is a mid, moderate green. Relative luminance 0.149; OKLCH L 51.6% C 0.120 H 152.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#1E7B45
RGBrgb(30, 123, 69)
HSLhsl(145, 61%, 30%)
HSVhsv(145, 76%, 48%)
CMYKcmyk(75.6%, 0%, 43.9%, 51.8%)
CIE-LABlab(45.46, -39.63, 22.05)
CIE-LCHlch(45.46, 45.35, 150.91°)
OKLaboklab(51.63% -0.1068 0.0546)
OKLCHoklch(51.63% 0.12 152.9)
XYZxyz(8.6918, 14.8706, 8.0413)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7B45 #7B1E54
analogous
#267B1E #1E7B45 #1E7B73
triadic
#1E7B45 #451E7B #7B451E
tetradic
#1E7B45 #1E267B #7B1E54 #7B731E
square
#1E7B45 #1E267B #7B1E54 #7B731E
split-complementary
#1E7B45 #731E7B #7B1E26
monochromatic
#06190E #124A29 #1E7B45 #2AAC61 #42D17E

Accessibility & contrast

On white

5.28
#1E7B45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#1E7B45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7B45
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7B45#FFFFFF#000000##FFFFFF
##1E7B451.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7041
Deuteranopia (green-blind)
#706849
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1e7b45;
/* rgb */ color: rgb(30, 123, 69);
/* oklch */ color: oklch(51.6% 0.120 152.9);
Tailwind
colors: {
  custom: {
    50: '#69a279',
    500: '#1e7b45',
    950: '#000000',
  },
}
SCSS
$custom: #1e7b45;
$custom-light: #69a279;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7b45",
  "rgb": {
    "r": 30,
    "g": 123,
    "b": 69
  },
  "hsl": {
    "h": 145.161,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.51633,
    "c": 0.1199,
    "h": 152.9
  },
  "luminance": 0.14872
}

Semantic roles & 50–950 ramp

primary
#1E7B45
secondary
#AE4683
accent
#44A1E4
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1E7B45

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

Preview Lab → · Contrast checker → · Palette generator →

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