#1B7D29#1B7D29

#1B7D29 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.149 H 144.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#1B7D29
RGBrgb(27, 125, 41)
HSLhsl(129, 64%, 30%)
HSVhsv(129, 78%, 49%)
CMYKcmyk(78.4%, 0%, 67.2%, 51%)
CIE-LABlab(45.72, -45.21, 36.89)
CIE-LCHlch(45.72, 58.35, 140.79°)
OKLaboklab(51.71% -0.1221 0.0857)
OKLCHoklch(51.71% 0.149 144.9)
XYZxyz(8.1853, 15.0594, 4.5728)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7D29 #7D1B6F
analogous
#3E7D1B #1B7D29 #1B7D5A
triadic
#1B7D29 #291B7D #7D291B
tetradic
#1B7D29 #1B3E7D #7D1B6F #7D5A1B
square
#1B7D29 #1B3E7D #7D1B6F #7D5A1B
split-complementary
#1B7D29 #5A1B7D #7D1B3E
monochromatic
#051908 #104B18 #1B7D29 #26AF3A #3DD553

Accessibility & contrast

On white

5.23
#1B7D29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#1B7D29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7D29
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7D29#FFFFFF#000000##FFFFFF
##1B7D291.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711F
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #1b7d29;
/* rgb */ color: rgb(27, 125, 41);
/* oklch */ color: oklch(51.7% 0.149 144.9);
Tailwind
colors: {
  custom: {
    50: '#69a467',
    500: '#1b7d29',
    950: '#000000',
  },
}
SCSS
$custom: #1b7d29;
$custom-light: #69a467;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7d29",
  "rgb": {
    "r": 27,
    "g": 125,
    "b": 41
  },
  "hsl": {
    "h": 128.571,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5171,
    "c": 0.14912,
    "h": 144.9
  },
  "luminance": 0.1506
}

Semantic roles & 50–950 ramp

primary
#1B7D29
secondary
#B143A1
accent
#40D0E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7D29

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

Preview Lab → · Contrast checker → · Palette generator →

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