#1B7947#1B7947

#1B7947 is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.0% C 0.116 H 154.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#1B7947
RGBrgb(27, 121, 71)
HSLhsl(148, 64%, 29%)
HSVhsv(148, 78%, 47%)
CMYKcmyk(77.7%, 0%, 41.3%, 52.5%)
CIE-LABlab(44.75, -38.90, 19.98)
CIE-LCHlch(44.75, 43.73, 152.82°)
OKLaboklab(51.04% -0.1049 0.0498)
OKLCHoklch(51.04% 0.116 154.6)
XYZxyz(8.4259, 14.3617, 8.2880)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7947 #791B4D
analogous
#1E791B #1B7947 #1B7976
triadic
#1B7947 #471B79 #79471B
tetradic
#1B7947 #1B1E79 #791B4D #79761B
square
#1B7947 #1B1E79 #791B4D #79761B
split-complementary
#1B7947 #761B79 #791B1E
monochromatic
#06190F #10472A #1B7947 #26AB64 #3BD382

Accessibility & contrast

On white

5.42
#1B7947 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#1B7947 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7947
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7947#FFFFFF#000000##FFFFFF
##1B79471.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F44
Deuteranopia (green-blind)
#6D674A
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1b7947;
/* rgb */ color: rgb(27, 121, 71);
/* oklch */ color: oklch(51.0% 0.116 154.6);
Tailwind
colors: {
  custom: {
    50: '#67a07a',
    500: '#1b7947',
    950: '#000000',
  },
}
SCSS
$custom: #1b7947;
$custom-light: #67a07a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7947",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 71
  },
  "hsl": {
    "h": 148.085,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51042,
    "c": 0.11609,
    "h": 154.6
  },
  "luminance": 0.14363
}

Semantic roles & 50–950 ramp

primary
#1B7947
secondary
#AD437B
accent
#4199E7
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1B7947

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

Preview Lab → · Contrast checker → · Palette generator →

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