#1B7B2A#1B7B2A

#1B7B2A is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.1% C 0.146 H 145.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#1B7B2A
RGBrgb(27, 123, 42)
HSLhsl(129, 64%, 29%)
HSVhsv(129, 78%, 48%)
CMYKcmyk(78%, 0%, 65.9%, 51.8%)
CIE-LABlab(45.03, -44.39, 35.66)
CIE-LCHlch(45.03, 56.94, 141.22°)
OKLaboklab(51.15% -0.1198 0.0832)
OKLCHoklch(51.15% 0.146 145.2)
XYZxyz(7.9523, 14.5652, 4.5823)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7B2A #7B1B6C
analogous
#3C7B1B #1B7B2A #1B7B5A
triadic
#1B7B2A #2A1B7B #7B2A1B
tetradic
#1B7B2A #1B3C7B #7B1B6C #7B5A1B
square
#1B7B2A #1B3C7B #7B1B6C #7B5A1B
split-complementary
#1B7B2A #5A1B7B #7B1B3C
monochromatic
#061909 #104919 #1B7B2A #26AD3B #3CD454

Accessibility & contrast

On white

5.37
#1B7B2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#1B7B2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7B2A
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7B2A#FFFFFF#000000##FFFFFF
##1B7B2A1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F20
Deuteranopia (green-blind)
#726831
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1b7b2a;
/* rgb */ color: rgb(27, 123, 42);
/* oklch */ color: oklch(51.1% 0.146 145.2);
Tailwind
colors: {
  custom: {
    50: '#69a267',
    500: '#1b7b2a',
    950: '#000000',
  },
}
SCSS
$custom: #1b7b2a;
$custom-light: #69a267;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7b2a",
  "rgb": {
    "r": 27,
    "g": 123,
    "b": 42
  },
  "hsl": {
    "h": 129.375,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51146,
    "c": 0.14582,
    "h": 145.2
  },
  "luminance": 0.14566
}

Semantic roles & 50–950 ramp

primary
#1B7B2A
secondary
#AF439E
accent
#41CDE7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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