#1E771B#1E771B

#1E771B is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.9% C 0.151 H 142.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#1E771B
RGBrgb(30, 119, 27)
HSLhsl(118, 63%, 29%)
HSVhsv(118, 77%, 47%)
CMYKcmyk(74.8%, 0%, 77.3%, 53.3%)
CIE-LABlab(43.58, -43.98, 40.58)
CIE-LCHlch(43.58, 59.84, 137.30°)
OKLaboklab(49.92% -0.1195 0.0916)
OKLCHoklch(49.92% 0.151 142.5)
XYZxyz(7.3296, 13.5480, 3.2654)
Luminance0.1355 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E771B #741B77
analogous
#4C771B #1E771B #1B7746
triadic
#1E771B #1B1E77 #771B1E
tetradic
#1E771B #1B4C77 #741B77 #77461B
square
#1E771B #1B4C77 #741B77 #77461B
split-complementary
#1E771B #461B77 #771B4C
monochromatic
#061906 #114510 #1E771B #2BA926 #3FD23A

Accessibility & contrast

On white

5.66
#1E771B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#1E771B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1E771B
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E771B#FFFFFF#000000##FFFFFF
##1E771B1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B09
Deuteranopia (green-blind)
#706425
Tritanopia (blue-blind)
#017365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1e771b;
/* rgb */ color: rgb(30, 119, 27);
/* oklch */ color: oklch(49.9% 0.151 142.5);
Tailwind
colors: {
  custom: {
    50: '#699f5e',
    500: '#1e771b',
    950: '#000000',
  },
}
SCSS
$custom: #1e771b;
$custom-light: #699f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e771b",
  "rgb": {
    "r": 30,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 118.043,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49916,
    "c": 0.15061,
    "h": 142.5
  },
  "luminance": 0.13549
}

Semantic roles & 50–950 ramp

primary
#1E771B
secondary
#A842AB
accent
#42E6E1
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #1E771B

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

Preview Lab → · Contrast checker → · Palette generator →

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