#1B7B2D#1B7B2D

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

Color values

HEX#1B7B2D
RGBrgb(27, 123, 45)
HSLhsl(131, 64%, 29%)
HSVhsv(131, 78%, 48%)
CMYKcmyk(78%, 0%, 63.4%, 51.8%)
CIE-LABlab(45.06, -44.01, 34.26)
CIE-LCHlch(45.06, 55.77, 142.10°)
OKLaboklab(51.18% -0.1186 0.0805)
OKLCHoklch(51.18% 0.143 145.8)
XYZxyz(8.0080, 14.5875, 4.8757)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7B2D #7B1B69
analogous
#397B1B #1B7B2D #1B7B5D
triadic
#1B7B2D #2D1B7B #7B2D1B
tetradic
#1B7B2D #1B397B #7B1B69 #7B5D1B
square
#1B7B2D #1B397B #7B1B69 #7B5D1B
split-complementary
#1B7B2D #5D1B7B #7B1B39
monochromatic
#061909 #10491B #1B7B2D #26AD3F #3CD459

Accessibility & contrast

On white

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

On black

3.92
#1B7B2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1B7B2D#FFFFFF#000000##FFFFFF
##1B7B2D1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b7b2d;
/* rgb */ color: rgb(27, 123, 45);
/* oklch */ color: oklch(51.2% 0.143 145.8);
Tailwind
colors: {
  custom: {
    50: '#68a269',
    500: '#1b7b2d',
    950: '#000000',
  },
}
SCSS
$custom: #1b7b2d;
$custom-light: #68a269;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7b2d",
  "rgb": {
    "r": 27,
    "g": 123,
    "b": 45
  },
  "hsl": {
    "h": 131.25,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51182,
    "c": 0.14336,
    "h": 145.8
  },
  "luminance": 0.14588
}

Semantic roles & 50–950 ramp

primary
#1B7B2D
secondary
#AF439B
accent
#41C8E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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