#1B7B2B#1B7B2B

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

Color values

HEX#1B7B2B
RGBrgb(27, 123, 43)
HSLhsl(130, 64%, 29%)
HSVhsv(130, 78%, 48%)
CMYKcmyk(78%, 0%, 65%, 51.8%)
CIE-LABlab(45.04, -44.26, 35.20)
CIE-LCHlch(45.04, 56.55, 141.51°)
OKLaboklab(51.16% -0.1194 0.0823)
OKLCHoklch(51.16% 0.145 145.4)
XYZxyz(7.9704, 14.5724, 4.6777)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7B2B #7B1B6B
analogous
#3B7B1B #1B7B2B #1B7B5B
triadic
#1B7B2B #2B1B7B #7B2B1B
tetradic
#1B7B2B #1B3B7B #7B1B6B #7B5B1B
square
#1B7B2B #1B3B7B #7B1B6B #7B5B1B
split-complementary
#1B7B2B #5B1B7B #7B1B3B
monochromatic
#061909 #104919 #1B7B2B #26AD3D #3CD456

Accessibility & contrast

On white

5.36
#1B7B2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1B7B2B
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7B2B#FFFFFF#000000##FFFFFF
##1B7B2B1.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b7b2b;
/* rgb */ color: rgb(27, 123, 43);
/* oklch */ color: oklch(51.2% 0.145 145.4);
Tailwind
colors: {
  custom: {
    50: '#69a268',
    500: '#1b7b2b',
    950: '#000000',
  },
}
SCSS
$custom: #1b7b2b;
$custom-light: #69a268;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7b2b",
  "rgb": {
    "r": 27,
    "g": 123,
    "b": 43
  },
  "hsl": {
    "h": 130,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51158,
    "c": 0.14501,
    "h": 145.4
  },
  "luminance": 0.14573
}

Semantic roles & 50–950 ramp

primary
#1B7B2B
secondary
#AF439D
accent
#41CBE7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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