#1B7C2F#1B7C2F

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

Color values

HEX#1B7C2F
RGBrgb(27, 124, 47)
HSLhsl(132, 64%, 30%)
HSVhsv(132, 78%, 49%)
CMYKcmyk(78.2%, 0%, 62.1%, 51.4%)
CIE-LABlab(45.43, -44.11, 33.71)
CIE-LCHlch(45.43, 55.51, 142.62°)
OKLaboklab(51.49% -0.1188 0.0795)
OKLCHoklch(51.49% 0.143 146.2)
XYZxyz(8.1721, 14.8526, 5.1249)
Luminance0.1485 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7C2F #7C1B68
analogous
#387C1B #1B7C2F #1B7C60
triadic
#1B7C2F #2F1B7C #7C2F1B
tetradic
#1B7C2F #1B387C #7C1B68 #7C601B
square
#1B7C2F #1B387C #7C1B68 #7C601B
split-complementary
#1B7C2F #601B7C #7C1B38
monochromatic
#05190A #104A1C #1B7C2F #26AE42 #3DD55C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7C2F#FFFFFF#000000##FFFFFF
##1B7C2F1.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)
#7E7027
Deuteranopia (green-blind)
#736935
Tritanopia (blue-blind)
#00796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1b7c2f;
/* rgb */ color: rgb(27, 124, 47);
/* oklch */ color: oklch(51.5% 0.143 146.2);
Tailwind
colors: {
  custom: {
    50: '#69a36a',
    500: '#1b7c2f',
    950: '#000000',
  },
}
SCSS
$custom: #1b7c2f;
$custom-light: #69a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7c2f",
  "rgb": {
    "r": 27,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 132.371,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51494,
    "c": 0.14295,
    "h": 146.2
  },
  "luminance": 0.14854
}

Semantic roles & 50–950 ramp

primary
#1B7C2F
secondary
#B04399
accent
#41C5E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1B7C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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