#1B7E2C#1B7E2C

#1B7E2C is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.148 H 145.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#1B7E2C
RGBrgb(27, 126, 44)
HSLhsl(130, 65%, 30%)
HSVhsv(130, 79%, 49%)
CMYKcmyk(78.6%, 0%, 65.1%, 50.6%)
CIE-LABlab(46.09, -45.21, 35.91)
CIE-LCHlch(46.09, 57.73, 141.54°)
OKLaboklab(52.03% -0.1219 0.0839)
OKLCHoklch(52.03% 0.148 145.5)
XYZxyz(8.3669, 15.3356, 4.9015)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7E2C #7E1B6D
analogous
#3C7E1B #1B7E2C #1B7E5D
triadic
#1B7E2C #2C1B7E #7E2C1B
tetradic
#1B7E2C #1B3C7E #7E1B6D #7E5D1B
square
#1B7E2C #1B3C7E #7E1B6D #7E5D1B
split-complementary
#1B7E2C #5D1B7E #7E1B3C
monochromatic
#051909 #104C1A #1B7E2C #26B03E #3ED658

Accessibility & contrast

On white

5.16
#1B7E2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#1B7E2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7E2C
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7E2C#FFFFFF#000000##FFFFFF
##1B7E2C1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807223
Deuteranopia (green-blind)
#756A33
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1b7e2c;
/* rgb */ color: rgb(27, 126, 44);
/* oklch */ color: oklch(52.0% 0.148 145.5);
Tailwind
colors: {
  custom: {
    50: '#69a469',
    500: '#1b7e2c',
    950: '#000000',
  },
}
SCSS
$custom: #1b7e2c;
$custom-light: #69a469;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7e2c",
  "rgb": {
    "r": 27,
    "g": 126,
    "b": 44
  },
  "hsl": {
    "h": 130.303,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.52031,
    "c": 0.14801,
    "h": 145.5
  },
  "luminance": 0.15337
}

Semantic roles & 50–950 ramp

primary
#1B7E2C
secondary
#B2439F
accent
#40CBE8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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