#1B7929#1B7929

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

Color values

HEX#1B7929
RGBrgb(27, 121, 41)
HSLhsl(129, 64%, 29%)
HSVhsv(129, 78%, 47%)
CMYKcmyk(77.7%, 0%, 66.1%, 52.5%)
CIE-LABlab(44.33, -43.79, 35.34)
CIE-LCHlch(44.33, 56.28, 141.09°)
OKLaboklab(50.56% -0.1182 0.0824)
OKLCHoklch(50.56% 0.144 145.1)
XYZxyz(7.6891, 14.0670, 4.4074)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7929 #791B6B
analogous
#3C791B #1B7929 #1B7958
triadic
#1B7929 #291B79 #79291B
tetradic
#1B7929 #1B3C79 #791B6B #79581B
square
#1B7929 #1B3C79 #791B6B #79581B
split-complementary
#1B7929 #581B79 #791B3C
monochromatic
#061908 #104718 #1B7929 #26AB3A #3BD352

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7929#FFFFFF#000000##FFFFFF
##1B79291.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)
#7B6D20
Deuteranopia (green-blind)
#706630
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1b7929;
/* rgb */ color: rgb(27, 121, 41);
/* oklch */ color: oklch(50.6% 0.144 145.1);
Tailwind
colors: {
  custom: {
    50: '#68a166',
    500: '#1b7929',
    950: '#000000',
  },
}
SCSS
$custom: #1b7929;
$custom-light: #68a166;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7929",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 41
  },
  "hsl": {
    "h": 128.936,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50559,
    "c": 0.14408,
    "h": 145.1
  },
  "luminance": 0.14068
}

Semantic roles & 50–950 ramp

primary
#1B7929
secondary
#AD439D
accent
#41CEE7
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7929

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

Preview Lab → · Contrast checker → · Palette generator →

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