#1B7B1A#1B7B1A

#1B7B1A is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.0% C 0.157 H 142.7°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#1B7B1A
RGBrgb(27, 123, 26)
HSLhsl(119, 65%, 29%)
HSVhsv(119, 79%, 48%)
CMYKcmyk(78%, 0%, 78.9%, 51.8%)
CIE-LABlab(44.90, -45.97, 42.25)
CIE-LCHlch(44.90, 62.44, 137.41°)
OKLaboklab(51% -0.1248 0.095)
OKLCHoklch(51% 0.157 142.7)
XYZxyz(7.7209, 14.4726, 3.3637)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7B1A #7A1A7B
analogous
#4C7B1A #1B7B1A #1A7B4A
triadic
#1B7B1A #1A1B7B #7B1A1B
tetradic
#1B7B1A #1A4C7B #7A1A7B #7B4A1A
square
#1B7B1A #1A4C7B #7A1A7B #7B4A1A
split-complementary
#1B7B1A #4A1A7B #7B1A4C
monochromatic
#061905 #10480F #1B7B1A #26AE25 #3CD53A

Accessibility & contrast

On white

5.39
#1B7B1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#1B7B1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7B1A
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7B1A#FFFFFF#000000##FFFFFF
##1B7B1A1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F04
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1b7b1a;
/* rgb */ color: rgb(27, 123, 26);
/* oklch */ color: oklch(51.0% 0.157 142.7);
Tailwind
colors: {
  custom: {
    50: '#69a25e',
    500: '#1b7b1a',
    950: '#000000',
  },
}
SCSS
$custom: #1b7b1a;
$custom-light: #69a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7b1a",
  "rgb": {
    "r": 27,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 119.381,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50997,
    "c": 0.15686,
    "h": 142.7
  },
  "luminance": 0.14474
}

Semantic roles & 50–950 ramp

primary
#1B7B1A
secondary
#AE42AF
accent
#40E8E6
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #1B7B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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