#1B7342#1B7342

#1B7342 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.2% C 0.113 H 153.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#1B7342
RGBrgb(27, 115, 66)
HSLhsl(147, 62%, 28%)
HSVhsv(147, 77%, 45%)
CMYKcmyk(76.5%, 0%, 42.6%, 54.9%)
CIE-LABlab(42.59, -37.47, 19.99)
CIE-LCHlch(42.59, 42.47, 151.92°)
OKLaboklab(49.23% -0.101 0.0497)
OKLCHoklch(49.23% 0.113 153.8)
XYZxyz(7.5654, 12.8870, 7.2419)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7342 #731B4C
analogous
#20731B #1B7342 #1B736E
triadic
#1B7342 #421B73 #73421B
tetradic
#1B7342 #1B2073 #731B4C #736E1B
square
#1B7342 #1B2073 #731B4C #736E1B
split-complementary
#1B7342 #6E1B73 #731B20
monochromatic
#06190E #0F4126 #1B7342 #27A55E #38D07C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B7342#FFFFFF#000000##FFFFFF
##1B73421.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)
#73693F
Deuteranopia (green-blind)
#686245
Tritanopia (blue-blind)
#007267
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1b7342;
/* rgb */ color: rgb(27, 115, 66);
/* oklch */ color: oklch(49.2% 0.113 153.8);
Tailwind
colors: {
  custom: {
    50: '#669c77',
    500: '#1b7342',
    950: '#000000',
  },
}
SCSS
$custom: #1b7342;
$custom-light: #669c77;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7342",
  "rgb": {
    "r": 27,
    "g": 115,
    "b": 66
  },
  "hsl": {
    "h": 146.591,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49234,
    "c": 0.11255,
    "h": 153.8
  },
  "luminance": 0.12888
}

Semantic roles & 50–950 ramp

primary
#1B7342
secondary
#A8427B
accent
#439DE5
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #1B7342

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

Preview Lab → · Contrast checker → · Palette generator →

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