#1B7946#1B7946

#1B7946 is a mid, moderate green. Relative luminance 0.143; OKLCH L 51.0% C 0.117 H 154.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#1B7946
RGBrgb(27, 121, 70)
HSLhsl(147, 64%, 29%)
HSVhsv(147, 78%, 47%)
CMYKcmyk(77.7%, 0%, 42.1%, 52.5%)
CIE-LABlab(44.73, -39.10, 20.52)
CIE-LCHlch(44.73, 44.16, 152.31°)
OKLaboklab(51.02% -0.1054 0.051)
OKLCHoklch(51.02% 0.117 154.2)
XYZxyz(8.3941, 14.3490, 8.1204)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7946 #791B4E
analogous
#1F791B #1B7946 #1B7975
triadic
#1B7946 #461B79 #79461B
tetradic
#1B7946 #1B1F79 #791B4E #79751B
square
#1B7946 #1B1F79 #791B4E #79751B
split-complementary
#1B7946 #751B79 #791B1F
monochromatic
#06190E #104729 #1B7946 #26AB63 #3BD381

Accessibility & contrast

On white

5.43
#1B7946 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1B7946
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7946#FFFFFF#000000##FFFFFF
##1B79461.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b7946;
/* rgb */ color: rgb(27, 121, 70);
/* oklch */ color: oklch(51.0% 0.117 154.2);
Tailwind
colors: {
  custom: {
    50: '#67a17a',
    500: '#1b7946',
    950: '#000000',
  },
}
SCSS
$custom: #1b7946;
$custom-light: #67a17a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7946",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 70
  },
  "hsl": {
    "h": 147.447,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51021,
    "c": 0.11707,
    "h": 154.2
  },
  "luminance": 0.1435
}

Semantic roles & 50–950 ramp

primary
#1B7946
secondary
#AD437C
accent
#419BE7
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1B7946

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

Preview Lab → · Contrast checker → · Palette generator →

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