#1B7942#1B7942

#1B7942 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.121 H 152.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#1B7942
RGBrgb(27, 121, 66)
HSLhsl(145, 64%, 29%)
HSVhsv(145, 78%, 47%)
CMYKcmyk(77.7%, 0%, 45.5%, 52.5%)
CIE-LABlab(44.66, -39.89, 22.68)
CIE-LCHlch(44.66, 45.89, 150.37°)
OKLaboklab(50.94% -0.1073 0.056)
OKLCHoklch(50.94% 0.121 152.5)
XYZxyz(8.2720, 14.3001, 7.4774)
Luminance0.1430 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B7942 #791B52
analogous
#23791B #1B7942 #1B7971
triadic
#1B7942 #421B79 #79421B
tetradic
#1B7942 #1B2379 #791B52 #79711B
square
#1B7942 #1B2379 #791B52 #79711B
split-complementary
#1B7942 #711B79 #791B23
monochromatic
#06190E #104727 #1B7942 #26AB5D #3BD37A

Accessibility & contrast

On white

5.44
#1B7942 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#1B7942 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B7942
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B7942#FFFFFF#000000##FFFFFF
##1B79421.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796E3E
Deuteranopia (green-blind)
#6E6646
Tritanopia (blue-blind)
#00776C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #1b7942;
/* rgb */ color: rgb(27, 121, 66);
/* oklch */ color: oklch(50.9% 0.121 152.5);
Tailwind
colors: {
  custom: {
    50: '#67a177',
    500: '#1b7942',
    950: '#000000',
  },
}
SCSS
$custom: #1b7942;
$custom-light: #67a177;
$custom-dark: #000000;
JSON
{
  "hex": "#1b7942",
  "rgb": {
    "r": 27,
    "g": 121,
    "b": 66
  },
  "hsl": {
    "h": 144.894,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50941,
    "c": 0.12105,
    "h": 152.5
  },
  "luminance": 0.14301
}

Semantic roles & 50–950 ramp

primary
#1B7942
secondary
#AD4381
accent
#41A2E7
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1B7942

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

Preview Lab → · Contrast checker → · Palette generator →

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