#1B772C#1B772C

#1B772C is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.0% C 0.139 H 145.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#1B772C
RGBrgb(27, 119, 44)
HSLhsl(131, 63%, 29%)
HSVhsv(131, 77%, 47%)
CMYKcmyk(77.3%, 0%, 63%, 53.3%)
CIE-LABlab(43.66, -42.69, 33.15)
CIE-LCHlch(43.66, 54.05, 142.17°)
OKLaboklab(50.02% -0.1151 0.078)
OKLCHoklch(50.02% 0.139 145.9)
XYZxyz(7.5029, 13.6076, 4.6135)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B772C #771B66
analogous
#38771B #1B772C #1B775A
triadic
#1B772C #2C1B77 #772C1B
tetradic
#1B772C #1B3877 #771B66 #775A1B
square
#1B772C #1B3877 #771B66 #775A1B
split-complementary
#1B772C #5A1B77 #771B38
monochromatic
#061909 #10451A #1B772C #26A93E #3AD256

Accessibility & contrast

On white

5.64
#1B772C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#1B772C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B772C
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B772C#FFFFFF#000000##FFFFFF
##1B772C1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C24
Deuteranopia (green-blind)
#6E6432
Tritanopia (blue-blind)
#007467
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1b772c;
/* rgb */ color: rgb(27, 119, 44);
/* oklch */ color: oklch(50.0% 0.139 145.9);
Tailwind
colors: {
  custom: {
    50: '#679f68',
    500: '#1b772c',
    950: '#000000',
  },
}
SCSS
$custom: #1b772c;
$custom-light: #679f68;
$custom-dark: #000000;
JSON
{
  "hex": "#1b772c",
  "rgb": {
    "r": 27,
    "g": 119,
    "b": 44
  },
  "hsl": {
    "h": 131.087,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50019,
    "c": 0.13903,
    "h": 145.9
  },
  "luminance": 0.13609
}

Semantic roles & 50–950 ramp

primary
#1B772C
secondary
#AB4298
accent
#42C8E6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #1B772C

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

Preview Lab → · Contrast checker → · Palette generator →

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