#1B7F26#1B7F26

#1B7F26 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.154 H 144.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#1B7F26
RGBrgb(27, 127, 38)
HSLhsl(127, 65%, 30%)
HSVhsv(127, 79%, 50%)
CMYKcmyk(78.7%, 0%, 70.1%, 50.2%)
CIE-LABlab(46.38, -46.24, 38.96)
CIE-LCHlch(46.38, 60.47, 139.89°)
OKLaboklab(52.25% -0.125 0.0897)
OKLCHoklch(52.25% 0.154 144.3)
XYZxyz(8.3907, 15.5507, 4.3927)
Luminance0.1555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7F26 #7F1B74
analogous
#427F1B #1B7F26 #1B7F58
triadic
#1B7F26 #261B7F #7F261B
tetradic
#1B7F26 #1B427F #7F1B74 #7F581B
square
#1B7F26 #1B427F #7F1B74 #7F581B
split-complementary
#1B7F26 #581B7F #7F1B42
monochromatic
#061A08 #104D17 #1B7F26 #26B135 #3ED64F

Accessibility & contrast

On white

5.11
#1B7F26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#1B7F26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7F26
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7F26#FFFFFF#000000##FFFFFF
##1B7F261.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81731A
Deuteranopia (green-blind)
#766B2E
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1b7f26;
/* rgb */ color: rgb(27, 127, 38);
/* oklch */ color: oklch(52.3% 0.154 144.3);
Tailwind
colors: {
  custom: {
    50: '#6aa565',
    500: '#1b7f26',
    950: '#000000',
  },
}
SCSS
$custom: #1b7f26;
$custom-light: #6aa565;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7f26",
  "rgb": {
    "r": 27,
    "g": 127,
    "b": 38
  },
  "hsl": {
    "h": 126.6,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52252,
    "c": 0.15385,
    "h": 144.3
  },
  "luminance": 0.15552
}

Semantic roles & 50–950 ramp

primary
#1B7F26
secondary
#B343A6
accent
#40D5E8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7F26

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

Preview Lab → · Contrast checker → · Palette generator →

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