#1B7927#1B7927

#1B7927 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.5% C 0.146 H 144.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#1B7927
RGBrgb(27, 121, 39)
HSLhsl(128, 64%, 29%)
HSVhsv(128, 78%, 47%)
CMYKcmyk(77.7%, 0%, 67.8%, 52.5%)
CIE-LABlab(44.31, -44.03, 36.25)
CIE-LCHlch(44.31, 57.03, 140.53°)
OKLaboklab(50.54% -0.1189 0.0841)
OKLCHoklch(50.54% 0.146 144.7)
XYZxyz(7.6551, 14.0534, 4.2282)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7927 #791B6D
analogous
#3E791B #1B7927 #1B7956
triadic
#1B7927 #271B79 #79271B
tetradic
#1B7927 #1B3E79 #791B6D #79561B
square
#1B7927 #1B3E79 #791B6D #79561B
split-complementary
#1B7927 #561B79 #791B3E
monochromatic
#061908 #104717 #1B7927 #26AB37 #3BD34F

Accessibility & contrast

On white

5.51
#1B7927 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#1B7927 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7927
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7927#FFFFFF#000000##FFFFFF
##1B79271.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D1D
Deuteranopia (green-blind)
#71662E
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1b7927;
/* rgb */ color: rgb(27, 121, 39);
/* oklch */ color: oklch(50.5% 0.146 144.7);
Tailwind
colors: {
  custom: {
    50: '#68a165',
    500: '#1b7927',
    950: '#000000',
  },
}
SCSS
$custom: #1b7927;
$custom-light: #68a165;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7927",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 39
  },
  "hsl": {
    "h": 127.66,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50537,
    "c": 0.14566,
    "h": 144.7
  },
  "luminance": 0.14054
}

Semantic roles & 50–950 ramp

primary
#1B7927
secondary
#AD43A0
accent
#41D1E7
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7927

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

Preview Lab → · Contrast checker → · Palette generator →

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