#1B772A#1B772A

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

Color values

HEX#1B772A
RGBrgb(27, 119, 42)
HSLhsl(130, 63%, 29%)
HSVhsv(130, 77%, 47%)
CMYKcmyk(77.3%, 0%, 64.7%, 53.3%)
CIE-LABlab(43.64, -42.95, 34.10)
CIE-LCHlch(43.64, 54.84, 141.55°)
OKLaboklab(49.99% -0.1159 0.0798)
OKLCHoklch(49.99% 0.141 145.4)
XYZxyz(7.4662, 13.5930, 4.4203)
Luminance0.1359 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B772A #771B68
analogous
#3A771B #1B772A #1B7758
triadic
#1B772A #2A1B77 #772A1B
tetradic
#1B772A #1B3A77 #771B68 #77581B
square
#1B772A #1B3A77 #771B68 #77581B
split-complementary
#1B772A #581B77 #771B3A
monochromatic
#061909 #104518 #1B772A #26A93C #3AD253

Accessibility & contrast

On white

5.65
#1B772A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1B772A
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B772A#FFFFFF#000000##FFFFFF
##1B772A1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b772a;
/* rgb */ color: rgb(27, 119, 42);
/* oklch */ color: oklch(50.0% 0.141 145.4);
Tailwind
colors: {
  custom: {
    50: '#689f67',
    500: '#1b772a',
    950: '#000000',
  },
}
SCSS
$custom: #1b772a;
$custom-light: #689f67;
$custom-dark: #000000;
JSON
{
  "hex": "#1b772a",
  "rgb": {
    "r": 27,
    "g": 119,
    "b": 42
  },
  "hsl": {
    "h": 129.783,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49994,
    "c": 0.14071,
    "h": 145.4
  },
  "luminance": 0.13594
}

Semantic roles & 50–950 ramp

primary
#1B772A
secondary
#AB429A
accent
#42CBE6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #1B772A

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

Preview Lab → · Contrast checker → · Palette generator →

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