#1B7724#1B7724

#1B7724 is a mid, vivid green. Relative luminance 0.136; OKLCH L 49.9% C 0.145 H 144.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#1B7724
RGBrgb(27, 119, 36)
HSLhsl(126, 63%, 29%)
HSVhsv(126, 77%, 47%)
CMYKcmyk(77.3%, 0%, 69.7%, 53.3%)
CIE-LABlab(43.59, -43.65, 36.83)
CIE-LCHlch(43.59, 57.11, 139.85°)
OKLaboklab(49.93% -0.118 0.085)
OKLCHoklch(49.93% 0.145 144.3)
XYZxyz(7.3668, 13.5532, 3.8965)
Luminance0.1355 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7724 #771B6E
analogous
#40771B #1B7724 #1B7752
triadic
#1B7724 #241B77 #77241B
tetradic
#1B7724 #1B4077 #771B6E #77521B
square
#1B7724 #1B4077 #771B6E #77521B
split-complementary
#1B7724 #521B77 #771B40
monochromatic
#061908 #104515 #1B7724 #26A933 #3AD249

Accessibility & contrast

On white

5.66
#1B7724 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#1B7724 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7724
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7724#FFFFFF#000000##FFFFFF
##1B77241.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B19
Deuteranopia (green-blind)
#6F642C
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1b7724;
/* rgb */ color: rgb(27, 119, 36);
/* oklch */ color: oklch(49.9% 0.145 144.3);
Tailwind
colors: {
  custom: {
    50: '#689f63',
    500: '#1b7724',
    950: '#000000',
  },
}
SCSS
$custom: #1b7724;
$custom-light: #689f63;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7724",
  "rgb": {
    "r": 27,
    "g": 119,
    "b": 36
  },
  "hsl": {
    "h": 125.87,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49927,
    "c": 0.14544,
    "h": 144.3
  },
  "luminance": 0.13554
}

Semantic roles & 50–950 ramp

primary
#1B7724
secondary
#AB42A1
accent
#42D6E6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F05
muted
#7A7E7A

Preview Lab

Preview with #1B7724

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

Preview Lab → · Contrast checker → · Palette generator →

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