#1B772F#1B772F

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

Color values

HEX#1B772F
RGBrgb(27, 119, 47)
HSLhsl(133, 63%, 29%)
HSVhsv(133, 77%, 47%)
CMYKcmyk(77.3%, 0%, 60.5%, 53.3%)
CIE-LABlab(43.70, -42.28, 31.69)
CIE-LCHlch(43.70, 52.84, 143.15°)
OKLaboklab(50.06% -0.1139 0.0751)
OKLCHoklch(50.06% 0.136 146.6)
XYZxyz(7.5614, 13.6310, 4.9213)
Luminance0.1363 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B772F #771B63
analogous
#35771B #1B772F #1B775D
triadic
#1B772F #2F1B77 #772F1B
tetradic
#1B772F #1B3577 #771B63 #775D1B
square
#1B772F #1B3577 #771B63 #775D1B
split-complementary
#1B772F #5D1B77 #771B35
monochromatic
#06190A #10451B #1B772F #26A943 #3AD25B

Accessibility & contrast

On white

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

On black

3.73
#1B772F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1B772F#FFFFFF#000000##FFFFFF
##1B772F1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b772f;
/* rgb */ color: rgb(27, 119, 47);
/* oklch */ color: oklch(50.1% 0.136 146.6);
Tailwind
colors: {
  custom: {
    50: '#679f6a',
    500: '#1b772f',
    950: '#000000',
  },
}
SCSS
$custom: #1b772f;
$custom-light: #679f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b772f",
  "rgb": {
    "r": 27,
    "g": 119,
    "b": 47
  },
  "hsl": {
    "h": 133.043,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50058,
    "c": 0.13642,
    "h": 146.6
  },
  "luminance": 0.13632
}

Semantic roles & 50–950 ramp

primary
#1B772F
secondary
#AB4295
accent
#42C2E6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #1B772F

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

Preview Lab → · Contrast checker → · Palette generator →

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