#1B7B40#1B7B40

#1B7B40 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.126 H 151.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#1B7B40
RGBrgb(27, 123, 64)
HSLhsl(143, 64%, 29%)
HSVhsv(143, 78%, 48%)
CMYKcmyk(78%, 0%, 48%, 51.8%)
CIE-LABlab(45.31, -41.05, 24.64)
CIE-LCHlch(45.31, 47.87, 149.03°)
OKLaboklab(51.47% -0.1104 0.0604)
OKLCHoklch(51.47% 0.126 151.3)
XYZxyz(8.4596, 14.7681, 7.2542)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7B40 #7B1B56
analogous
#267B1B #1B7B40 #1B7B70
triadic
#1B7B40 #401B7B #7B401B
tetradic
#1B7B40 #1B267B #7B1B56 #7B701B
square
#1B7B40 #1B267B #7B1B56 #7B701B
split-complementary
#1B7B40 #701B7B #7B1B26
monochromatic
#06190D #104926 #1B7B40 #26AD5A #3CD477

Accessibility & contrast

On white

5.31
#1B7B40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#1B7B40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7B40
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7B40#FFFFFF#000000##FFFFFF
##1B7B401.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B703B
Deuteranopia (green-blind)
#706844
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1b7b40;
/* rgb */ color: rgb(27, 123, 64);
/* oklch */ color: oklch(51.5% 0.126 151.3);
Tailwind
colors: {
  custom: {
    50: '#68a276',
    500: '#1b7b40',
    950: '#000000',
  },
}
SCSS
$custom: #1b7b40;
$custom-light: #68a276;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7b40",
  "rgb": {
    "r": 27,
    "g": 123,
    "b": 64
  },
  "hsl": {
    "h": 143.125,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51472,
    "c": 0.12582,
    "h": 151.3
  },
  "luminance": 0.14769
}

Semantic roles & 50–950 ramp

primary
#1B7B40
secondary
#AF4385
accent
#41A7E7
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1B7B40

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

Preview Lab → · Contrast checker → · Palette generator →

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