#1E7F2B#1E7F2B

#1E7F2B is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.149 H 144.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#1E7F2B
RGBrgb(30, 127, 43)
HSLhsl(128, 62%, 31%)
HSVhsv(128, 76%, 50%)
CMYKcmyk(76.4%, 0%, 66.1%, 50.2%)
CIE-LABlab(46.48, -45.20, 36.83)
CIE-LCHlch(46.48, 58.31, 140.83°)
OKLaboklab(52.37% -0.1221 0.0858)
OKLCHoklch(52.37% 0.149 144.9)
XYZxyz(8.5603, 15.6282, 4.8504)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E7F2B #7F1E72
analogous
#417F1E #1E7F2B #1E7F5B
triadic
#1E7F2B #2B1E7F #7F2B1E
tetradic
#1E7F2B #1E417F #7F1E72 #7F5B1E
square
#1E7F2B #1E417F #7F1E72 #7F5B1E
split-complementary
#1E7F2B #5B1E7F #7F1E41
monochromatic
#071C09 #124D1A #1E7F2B #2AB13C #44D358

Accessibility & contrast

On white

5.09
#1E7F2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#1E7F2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E7F2B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E7F2B#FFFFFF#000000##FFFFFF
##1E7F2B1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817321
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1e7f2b;
/* rgb */ color: rgb(30, 127, 43);
/* oklch */ color: oklch(52.4% 0.149 144.9);
Tailwind
colors: {
  custom: {
    50: '#6ba568',
    500: '#1e7f2b',
    950: '#000000',
  },
}
SCSS
$custom: #1e7f2b;
$custom-light: #6ba568;
$custom-dark: #000000;
JSON
{
  "hex": "#1e7f2b",
  "rgb": {
    "r": 30,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 128.041,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5237,
    "c": 0.14918,
    "h": 144.9
  },
  "luminance": 0.15629
}

Semantic roles & 50–950 ramp

primary
#1E7F2B
secondary
#B247A4
accent
#43CFE5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #1E7F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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