#1B7E2B#1B7E2B

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

Color values

HEX#1B7E2B
RGBrgb(27, 126, 43)
HSLhsl(130, 65%, 30%)
HSVhsv(130, 79%, 49%)
CMYKcmyk(78.6%, 0%, 65.9%, 50.6%)
CIE-LABlab(46.08, -45.33, 36.37)
CIE-LCHlch(46.08, 58.11, 141.26°)
OKLaboklab(52.02% -0.1223 0.0848)
OKLCHoklch(52.02% 0.149 145.3)
XYZxyz(8.3483, 15.3282, 4.8037)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7E2B #7E1B6E
analogous
#3C7E1B #1B7E2B #1B7E5D
triadic
#1B7E2B #2B1B7E #7E2B1B
tetradic
#1B7E2B #1B3C7E #7E1B6E #7E5D1B
square
#1B7E2B #1B3C7E #7E1B6E #7E5D1B
split-complementary
#1B7E2B #5D1B7E #7E1B3C
monochromatic
#051909 #104C1A #1B7E2B #26B03C #3ED656

Accessibility & contrast

On white

5.17
#1B7E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1B7E2B
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7E2B#FFFFFF#000000##FFFFFF
##1B7E2B1.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b7e2b;
/* rgb */ color: rgb(27, 126, 43);
/* oklch */ color: oklch(52.0% 0.149 145.3);
Tailwind
colors: {
  custom: {
    50: '#69a468',
    500: '#1b7e2b',
    950: '#000000',
  },
}
SCSS
$custom: #1b7e2b;
$custom-light: #69a468;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7e2b",
  "rgb": {
    "r": 27,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 129.697,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.52019,
    "c": 0.14881,
    "h": 145.3
  },
  "luminance": 0.15329
}

Semantic roles & 50–950 ramp

primary
#1B7E2B
secondary
#B243A0
accent
#40CDE8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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