#1B7C2E#1B7C2E

#1B7C2E is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.144 H 146.0°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#1B7C2E
RGBrgb(27, 124, 46)
HSLhsl(132, 64%, 30%)
HSVhsv(132, 78%, 49%)
CMYKcmyk(78.2%, 0%, 62.9%, 51.4%)
CIE-LABlab(45.42, -44.24, 34.18)
CIE-LCHlch(45.42, 55.91, 142.31°)
OKLaboklab(51.48% -0.1192 0.0804)
OKLCHoklch(51.48% 0.144 146)
XYZxyz(8.1522, 14.8446, 5.0199)
Luminance0.1485 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7C2E #7C1B69
analogous
#387C1B #1B7C2E #1B7C5F
triadic
#1B7C2E #2E1B7C #7C2E1B
tetradic
#1B7C2E #1B387C #7C1B69 #7C5F1B
square
#1B7C2E #1B387C #7C1B69 #7C5F1B
split-complementary
#1B7C2E #5F1B7C #7C1B38
monochromatic
#051909 #104A1B #1B7C2E #26AE41 #3DD55A

Accessibility & contrast

On white

5.29
#1B7C2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#1B7C2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7C2E
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7C2E#FFFFFF#000000##FFFFFF
##1B7C2E1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7026
Deuteranopia (green-blind)
#736935
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1b7c2e;
/* rgb */ color: rgb(27, 124, 46);
/* oklch */ color: oklch(51.5% 0.144 146.0);
Tailwind
colors: {
  custom: {
    50: '#69a36a',
    500: '#1b7c2e',
    950: '#000000',
  },
}
SCSS
$custom: #1b7c2e;
$custom-light: #69a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7c2e",
  "rgb": {
    "r": 27,
    "g": 124,
    "b": 46
  },
  "hsl": {
    "h": 131.753,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51482,
    "c": 0.1438,
    "h": 146
  },
  "luminance": 0.14846
}

Semantic roles & 50–950 ramp

primary
#1B7C2E
secondary
#B0439B
accent
#41C7E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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