#1B7928#1B7928

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

Color values

HEX#1B7928
RGBrgb(27, 121, 40)
HSLhsl(128, 64%, 29%)
HSVhsv(128, 78%, 47%)
CMYKcmyk(77.7%, 0%, 66.9%, 52.5%)
CIE-LABlab(44.32, -43.91, 35.80)
CIE-LCHlch(44.32, 56.66, 140.81°)
OKLaboklab(50.55% -0.1186 0.0833)
OKLCHoklch(50.55% 0.145 144.9)
XYZxyz(7.6718, 14.0601, 4.3166)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7928 #791B6C
analogous
#3D791B #1B7928 #1B7957
triadic
#1B7928 #281B79 #79281B
tetradic
#1B7928 #1B3D79 #791B6C #79571B
square
#1B7928 #1B3D79 #791B6C #79571B
split-complementary
#1B7928 #571B79 #791B3D
monochromatic
#061908 #104717 #1B7928 #26AB39 #3BD350

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7928#FFFFFF#000000##FFFFFF
##1B79281.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)
#7B6D1E
Deuteranopia (green-blind)
#71662F
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1b7928;
/* rgb */ color: rgb(27, 121, 40);
/* oklch */ color: oklch(50.5% 0.145 144.9);
Tailwind
colors: {
  custom: {
    50: '#68a166',
    500: '#1b7928',
    950: '#000000',
  },
}
SCSS
$custom: #1b7928;
$custom-light: #68a166;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7928",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 40
  },
  "hsl": {
    "h": 128.298,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50548,
    "c": 0.14488,
    "h": 144.9
  },
  "luminance": 0.14061
}

Semantic roles & 50–950 ramp

primary
#1B7928
secondary
#AD439E
accent
#41D0E7
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7928

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

Preview Lab → · Contrast checker → · Palette generator →

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