#1B7C2C#1B7C2C

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

Color values

HEX#1B7C2C
RGBrgb(27, 124, 44)
HSLhsl(131, 64%, 30%)
HSVhsv(131, 78%, 49%)
CMYKcmyk(78.2%, 0%, 64.5%, 51.4%)
CIE-LABlab(45.40, -44.50, 35.13)
CIE-LCHlch(45.40, 56.69, 141.71°)
OKLaboklab(51.46% -0.12 0.0822)
OKLCHoklch(51.46% 0.145 145.6)
XYZxyz(8.1137, 14.8292, 4.8171)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7C2C #7C1B6B
analogous
#3B7C1B #1B7C2C #1B7C5C
triadic
#1B7C2C #2C1B7C #7C2C1B
tetradic
#1B7C2C #1B3B7C #7C1B6B #7C5C1B
square
#1B7C2C #1B3B7C #7C1B6B #7C5C1B
split-complementary
#1B7C2C #5C1B7C #7C1B3B
monochromatic
#051909 #104A1A #1B7C2C #26AE3E #3DD557

Accessibility & contrast

On white

5.30
#1B7C2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1B7C2C
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7C2C#FFFFFF#000000##FFFFFF
##1B7C2C1.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b7c2c;
/* rgb */ color: rgb(27, 124, 44);
/* oklch */ color: oklch(51.5% 0.145 145.6);
Tailwind
colors: {
  custom: {
    50: '#69a368',
    500: '#1b7c2c',
    950: '#000000',
  },
}
SCSS
$custom: #1b7c2c;
$custom-light: #69a368;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7c2c",
  "rgb": {
    "r": 27,
    "g": 124,
    "b": 44
  },
  "hsl": {
    "h": 130.515,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51457,
    "c": 0.14546,
    "h": 145.6
  },
  "luminance": 0.1483
}

Semantic roles & 50–950 ramp

primary
#1B7C2C
secondary
#B0439D
accent
#41CAE7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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