#1B7E40#1B7E40

#1B7E40 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.130 H 150.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#1B7E40
RGBrgb(27, 126, 64)
HSLhsl(142, 65%, 30%)
HSVhsv(142, 79%, 49%)
CMYKcmyk(78.6%, 0%, 49.2%, 50.6%)
CIE-LABlab(46.34, -42.20, 25.94)
CIE-LCHlch(46.34, 49.54, 148.42°)
OKLaboklab(52.32% -0.1134 0.0634)
OKLCHoklch(52.32% 0.13 150.8)
XYZxyz(8.8375, 15.5238, 7.3801)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7E40 #7E1B59
analogous
#287E1B #1B7E40 #1B7E71
triadic
#1B7E40 #401B7E #7E401B
tetradic
#1B7E40 #1B287E #7E1B59 #7E711B
square
#1B7E40 #1B287E #7E1B59 #7E711B
split-complementary
#1B7E40 #711B7E #7E1B28
monochromatic
#05190D #104C26 #1B7E40 #26B05A #3ED677

Accessibility & contrast

On white

5.12
#1B7E40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#1B7E40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7E40
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7E40#FFFFFF#000000##FFFFFF
##1B7E401.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F733B
Deuteranopia (green-blind)
#736B44
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1b7e40;
/* rgb */ color: rgb(27, 126, 64);
/* oklch */ color: oklch(52.3% 0.130 150.8);
Tailwind
colors: {
  custom: {
    50: '#68a476',
    500: '#1b7e40',
    950: '#000000',
  },
}
SCSS
$custom: #1b7e40;
$custom-light: #68a476;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7e40",
  "rgb": {
    "r": 27,
    "g": 126,
    "b": 64
  },
  "hsl": {
    "h": 142.424,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.52322,
    "c": 0.12995,
    "h": 150.8
  },
  "luminance": 0.15525
}

Semantic roles & 50–950 ramp

primary
#1B7E40
secondary
#B24388
accent
#40A9E8
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1B7E40

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

Preview Lab → · Contrast checker → · Palette generator →

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