#1B7429#1B7429

#1B7429 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.138 H 145.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#1B7429
RGBrgb(27, 116, 41)
HSLhsl(129, 62%, 28%)
HSVhsv(129, 77%, 45%)
CMYKcmyk(76.7%, 0%, 64.7%, 54.5%)
CIE-LABlab(42.59, -41.98, 33.38)
CIE-LCHlch(42.59, 53.63, 141.51°)
OKLaboklab(49.11% -0.1133 0.0782)
OKLCHoklch(49.11% 0.138 145.4)
XYZxyz(7.0971, 12.8831, 4.2100)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7429 #741B66
analogous
#39741B #1B7429 #1B7455
triadic
#1B7429 #291B74 #74291B
tetradic
#1B7429 #1B3974 #741B66 #74551B
square
#1B7429 #1B3974 #741B66 #74551B
split-complementary
#1B7429 #551B74 #741B39
monochromatic
#061909 #0F4217 #1B7429 #27A63B #39D151

Accessibility & contrast

On white

5.87
#1B7429 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#1B7429 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7429
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7429#FFFFFF#000000##FFFFFF
##1B74291.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766921
Deuteranopia (green-blind)
#6C622F
Tritanopia (blue-blind)
#007164
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1b7429;
/* rgb */ color: rgb(27, 116, 41);
/* oklch */ color: oklch(49.1% 0.138 145.4);
Tailwind
colors: {
  custom: {
    50: '#679d66',
    500: '#1b7429',
    950: '#000000',
  },
}
SCSS
$custom: #1b7429;
$custom-light: #679d66;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7429",
  "rgb": {
    "r": 27,
    "g": 116,
    "b": 41
  },
  "hsl": {
    "h": 129.438,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49114,
    "c": 0.13766,
    "h": 145.4
  },
  "luminance": 0.12884
}

Semantic roles & 50–950 ramp

primary
#1B7429
secondary
#A94298
accent
#42CCE5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1B7429

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

Preview Lab → · Contrast checker → · Palette generator →

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