#1B772B#1B772B

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

Color values

HEX#1B772B
RGBrgb(27, 119, 43)
HSLhsl(130, 63%, 29%)
HSVhsv(130, 77%, 47%)
CMYKcmyk(77.3%, 0%, 63.9%, 53.3%)
CIE-LABlab(43.65, -42.82, 33.62)
CIE-LCHlch(43.65, 54.44, 141.86°)
OKLaboklab(50.01% -0.1155 0.0789)
OKLCHoklch(50.01% 0.14 145.7)
XYZxyz(7.4843, 13.6002, 4.5157)
Luminance0.1360 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B772B #771B67
analogous
#39771B #1B772B #1B7759
triadic
#1B772B #2B1B77 #772B1B
tetradic
#1B772B #1B3977 #771B67 #77591B
square
#1B772B #1B3977 #771B67 #77591B
split-complementary
#1B772B #591B77 #771B39
monochromatic
#061909 #104519 #1B772B #26A93D #3AD255

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B772B#FFFFFF#000000##FFFFFF
##1B772B1.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)
#796C23
Deuteranopia (green-blind)
#6E6431
Tritanopia (blue-blind)
#007467
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1b772b;
/* rgb */ color: rgb(27, 119, 43);
/* oklch */ color: oklch(50.0% 0.140 145.7);
Tailwind
colors: {
  custom: {
    50: '#679f67',
    500: '#1b772b',
    950: '#000000',
  },
}
SCSS
$custom: #1b772b;
$custom-light: #679f67;
$custom-dark: #000000;
JSON
{
  "hex": "#1b772b",
  "rgb": {
    "r": 27,
    "g": 119,
    "b": 43
  },
  "hsl": {
    "h": 130.435,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50006,
    "c": 0.13988,
    "h": 145.7
  },
  "luminance": 0.13601
}

Semantic roles & 50–950 ramp

primary
#1B772B
secondary
#AB4299
accent
#42C9E6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #1B772B

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

Preview Lab → · Contrast checker → · Palette generator →

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