#1B7C2B#1B7C2B

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

Color values

HEX#1B7C2B
RGBrgb(27, 124, 43)
HSLhsl(130, 64%, 30%)
HSVhsv(130, 78%, 49%)
CMYKcmyk(78.2%, 0%, 65.3%, 51.4%)
CIE-LABlab(45.39, -44.62, 35.59)
CIE-LCHlch(45.39, 57.08, 141.42°)
OKLaboklab(51.44% -0.1204 0.0831)
OKLCHoklch(51.44% 0.146 145.4)
XYZxyz(8.0951, 14.8218, 4.7193)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7C2B #7C1B6C
analogous
#3C7C1B #1B7C2B #1B7C5C
triadic
#1B7C2B #2B1B7C #7C2B1B
tetradic
#1B7C2B #1B3C7C #7C1B6C #7C5C1B
square
#1B7C2B #1B3C7C #7C1B6C #7C5C1B
split-complementary
#1B7C2B #5C1B7C #7C1B3C
monochromatic
#051909 #104A1A #1B7C2B #26AE3C #3DD556

Accessibility & contrast

On white

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

On black

3.96
#1B7C2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1B7C2B#FFFFFF#000000##FFFFFF
##1B7C2B1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b7c2b;
/* rgb */ color: rgb(27, 124, 43);
/* oklch */ color: oklch(51.4% 0.146 145.4);
Tailwind
colors: {
  custom: {
    50: '#69a368',
    500: '#1b7c2b',
    950: '#000000',
  },
}
SCSS
$custom: #1b7c2b;
$custom-light: #69a368;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7c2b",
  "rgb": {
    "r": 27,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 129.897,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51445,
    "c": 0.14628,
    "h": 145.4
  },
  "luminance": 0.14823
}

Semantic roles & 50–950 ramp

primary
#1B7C2B
secondary
#B0439E
accent
#41CCE7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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