#1B7B2E#1B7B2E

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

Color values

HEX#1B7B2E
RGBrgb(27, 123, 46)
HSLhsl(132, 64%, 29%)
HSVhsv(132, 78%, 48%)
CMYKcmyk(78%, 0%, 62.6%, 51.8%)
CIE-LABlab(45.07, -43.88, 33.79)
CIE-LCHlch(45.07, 55.38, 142.41°)
OKLaboklab(51.2% -0.1182 0.0796)
OKLCHoklch(51.2% 0.143 146.1)
XYZxyz(8.0275, 14.5953, 4.9783)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7B2E #7B1B68
analogous
#387B1B #1B7B2E #1B7B5E
triadic
#1B7B2E #2E1B7B #7B2E1B
tetradic
#1B7B2E #1B387B #7B1B68 #7B5E1B
square
#1B7B2E #1B387B #7B1B68 #7B5E1B
split-complementary
#1B7B2E #5E1B7B #7B1B38
monochromatic
#061909 #10491B #1B7B2E #26AD41 #3CD45A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7B2E#FFFFFF#000000##FFFFFF
##1B7B2E1.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)
#7D6F26
Deuteranopia (green-blind)
#726834
Tritanopia (blue-blind)
#00786A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #1b7b2e;
/* rgb */ color: rgb(27, 123, 46);
/* oklch */ color: oklch(51.2% 0.143 146.1);
Tailwind
colors: {
  custom: {
    50: '#68a26a',
    500: '#1b7b2e',
    950: '#000000',
  },
}
SCSS
$custom: #1b7b2e;
$custom-light: #68a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7b2e",
  "rgb": {
    "r": 27,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 131.875,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51195,
    "c": 0.14252,
    "h": 146.1
  },
  "luminance": 0.14596
}

Semantic roles & 50–950 ramp

primary
#1B7B2E
secondary
#AF439A
accent
#41C6E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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