#1B7945#1B7945

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

Color values

HEX#1B7945
RGBrgb(27, 121, 69)
HSLhsl(147, 64%, 29%)
HSVhsv(147, 78%, 47%)
CMYKcmyk(77.7%, 0%, 43%, 52.5%)
CIE-LABlab(44.71, -39.30, 21.06)
CIE-LCHlch(44.71, 44.59, 151.81°)
OKLaboklab(51% -0.1059 0.0523)
OKLCHoklch(51% 0.118 153.7)
XYZxyz(8.3628, 14.3364, 7.9555)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7945 #791B4F
analogous
#20791B #1B7945 #1B7974
triadic
#1B7945 #451B79 #79451B
tetradic
#1B7945 #1B2079 #791B4F #79741B
square
#1B7945 #1B2079 #791B4F #79741B
split-complementary
#1B7945 #741B79 #791B20
monochromatic
#06190E #104728 #1B7945 #26AB62 #3BD37F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7945#FFFFFF#000000##FFFFFF
##1B79451.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)
#796F41
Deuteranopia (green-blind)
#6E6749
Tritanopia (blue-blind)
#00776C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1b7945;
/* rgb */ color: rgb(27, 121, 69);
/* oklch */ color: oklch(51.0% 0.118 153.7);
Tailwind
colors: {
  custom: {
    50: '#67a179',
    500: '#1b7945',
    950: '#000000',
  },
}
SCSS
$custom: #1b7945;
$custom-light: #67a179;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7945",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 69
  },
  "hsl": {
    "h": 146.809,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51,
    "c": 0.11807,
    "h": 153.7
  },
  "luminance": 0.14337
}

Semantic roles & 50–950 ramp

primary
#1B7945
secondary
#AD437E
accent
#419DE7
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1B7945

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

Preview Lab → · Contrast checker → · Palette generator →

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