#1B7F29#1B7F29

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

Color values

HEX#1B7F29
RGBrgb(27, 127, 41)
HSLhsl(128, 65%, 30%)
HSVhsv(128, 79%, 50%)
CMYKcmyk(78.7%, 0%, 67.7%, 50.2%)
CIE-LABlab(46.41, -45.92, 37.65)
CIE-LCHlch(46.41, 59.38, 140.65°)
OKLaboklab(52.28% -0.124 0.0873)
OKLCHoklch(52.28% 0.152 144.9)
XYZxyz(8.4410, 15.5709, 4.6580)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7F29 #7F1B71
analogous
#3F7F1B #1B7F29 #1B7F5B
triadic
#1B7F29 #291B7F #7F291B
tetradic
#1B7F29 #1B3F7F #7F1B71 #7F5B1B
square
#1B7F29 #1B3F7F #7F1B71 #7F5B1B
split-complementary
#1B7F29 #5B1B7F #7F1B3F
monochromatic
#061A08 #104D19 #1B7F29 #26B139 #3ED654

Accessibility & contrast

On white

5.10
#1B7F29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1B7F29
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7F29#FFFFFF#000000##FFFFFF
##1B7F291.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81731E
Deuteranopia (green-blind)
#766B31
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #1b7f29;
/* rgb */ color: rgb(27, 127, 41);
/* oklch */ color: oklch(52.3% 0.152 144.9);
Tailwind
colors: {
  custom: {
    50: '#6aa567',
    500: '#1b7f29',
    950: '#000000',
  },
}
SCSS
$custom: #1b7f29;
$custom-light: #6aa567;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7f29",
  "rgb": {
    "r": 27,
    "g": 127,
    "b": 41
  },
  "hsl": {
    "h": 128.4,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52283,
    "c": 0.15161,
    "h": 144.9
  },
  "luminance": 0.15572
}

Semantic roles & 50–950 ramp

primary
#1B7F29
secondary
#B343A3
accent
#40D0E8
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #1B7F29

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

Preview Lab → · Contrast checker → · Palette generator →

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