#1B7142#1B7142

#1B7142 is a mid, moderate green. Relative luminance 0.124; OKLCH L 48.7% C 0.110 H 154.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#1B7142
RGBrgb(27, 113, 66)
HSLhsl(147, 61%, 27%)
HSVhsv(147, 76%, 44%)
CMYKcmyk(76.1%, 0%, 41.6%, 55.7%)
CIE-LABlab(41.90, -36.65, 19.08)
CIE-LCHlch(41.90, 41.32, 152.50°)
OKLaboklab(48.66% -0.0989 0.0475)
OKLCHoklch(48.66% 0.11 154.3)
XYZxyz(7.3398, 12.4358, 7.1667)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7142 #711B4A
analogous
#1F711B #1B7142 #1B716D
triadic
#1B7142 #421B71 #71421B
tetradic
#1B7142 #1B1F71 #711B4A #716D1B
square
#1B7142 #1B1F71 #711B4A #716D1B
split-complementary
#1B7142 #6D1B71 #711B1F
monochromatic
#06190E #0F4025 #1B7142 #27A25F #37CF7C

Accessibility & contrast

On white

6.02
#1B7142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#1B7142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7142
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7142#FFFFFF#000000##FFFFFF
##1B71421.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71673F
Deuteranopia (green-blind)
#666045
Tritanopia (blue-blind)
#007065
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #1b7142;
/* rgb */ color: rgb(27, 113, 66);
/* oklch */ color: oklch(48.7% 0.110 154.3);
Tailwind
colors: {
  custom: {
    50: '#659b77',
    500: '#1b7142',
    950: '#000000',
  },
}
SCSS
$custom: #1b7142;
$custom-light: #659b77;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7142",
  "rgb": {
    "r": 27,
    "g": 113,
    "b": 66
  },
  "hsl": {
    "h": 147.209,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48663,
    "c": 0.10969,
    "h": 154.3
  },
  "luminance": 0.12437
}

Semantic roles & 50–950 ramp

primary
#1B7142
secondary
#A64279
accent
#439BE5
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #1B7142

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

Preview Lab → · Contrast checker → · Palette generator →

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